Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad") translateModel(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.815/1.815, allocations: 306.1 MB / 321.4 MB, free: 10.74 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001275/0.001275, allocations: 183.2 kB / 393.1 MB, free: 4.086 MB / 314.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.609/1.609, allocations: 225.7 MB / 0.6743 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008203/0.0008205, allocations: 98.64 kB / 0.7935 GB, free: 40.2 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.000385/0.000385, allocations: 8 kB / 0.9224 GB, free: 8.66 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.779/0.7794, allocations: 121.3 MB / 1.041 GB, free: 59.02 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad): time 0.004716/0.7842, allocations: 3.638 MB / 1.044 GB, free: 56.62 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.002734/0.787, allocations: 2.265 MB / 1.047 GB, free: 54.66 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001997/0.7872, allocations: 5.531 kB / 1.047 GB, free: 54.66 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0002563/0.7875, allocations: 67.61 kB / 1.047 GB, free: 54.63 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0005353/0.788, allocations: 222.7 kB / 1.047 GB, free: 54.51 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005645/0.7886, allocations: 192.7 kB / 1.047 GB, free: 54.41 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0007674/0.7894, allocations: 0.7757 MB / 1.048 GB, free: 54.15 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005034/0.7899, allocations: 438.6 kB / 1.048 GB, free: 53.91 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002223/0.7901, allocations: 182 kB / 1.048 GB, free: 53.84 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004029/0.7905, allocations: 246.3 kB / 1.049 GB, free: 53.75 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 4.914e-05/0.7906, allocations: 19.72 kB / 1.049 GB, free: 53.75 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003604/0.7909, allocations: 186.2 kB / 1.049 GB, free: 53.69 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001412/0.7911, allocations: 123.1 kB / 1.049 GB, free: 53.65 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001811/0.7913, allocations: 202.7 kB / 1.049 GB, free: 53.52 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0005429/0.7918, allocations: 0.5043 MB / 1.05 GB, free: 53.38 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.294e-06/0.7918, allocations: 1.125 kB / 1.05 GB, free: 53.38 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.214e-06/0.7919, allocations: 4.531 kB / 1.05 GB, free: 53.37 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.412e-06/0.7919, allocations: 0 / 1.05 GB, free: 53.37 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.001164/0.793, allocations: 0.6267 MB / 1.05 GB, free: 52.88 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.7931, allocations: 8.219 kB / 1.05 GB, free: 52.88 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006809/0.7938, allocations: 114.9 kB / 1.05 GB, free: 52.85 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003735/0.7942, allocations: 301.3 kB / 1.051 GB, free: 52.59 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.49e-05/0.7943, allocations: 50.17 kB / 1.051 GB, free: 52.55 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.962e-05/0.7943, allocations: 34.64 kB / 1.051 GB, free: 52.54 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000819/0.7952, allocations: 0.5107 MB / 1.051 GB, free: 52.29 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.511e-05/0.7952, allocations: 1.406 kB / 1.051 GB, free: 52.29 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.98e-05/0.7952, allocations: 11.5 kB / 1.051 GB, free: 52.29 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.197e-05/0.7953, allocations: 31.45 kB / 1.051 GB, free: 52.28 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007284/0.796, allocations: 389.3 kB / 1.052 GB, free: 52.16 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002291/0.7983, allocations: 2.213 MB / 1.054 GB, free: 50.3 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006937/0.799, allocations: 269.7 kB / 1.054 GB, free: 50.2 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003549/0.7994, allocations: 158.5 kB / 1.054 GB, free: 50.16 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.825e-05/0.7994, allocations: 2.562 kB / 1.054 GB, free: 50.16 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.438e-05/0.7995, allocations: 40.89 kB / 1.054 GB, free: 50.11 MB / 0.698 GB Notification: Performance of pre-optimization done (n=19): time 2.164e-06/0.7995, allocations: 0 / 1.054 GB, free: 50.11 MB / 0.698 GB Notification: Performance of matching and sorting (n=19): time 0.001512/0.801, allocations: 0.5888 MB / 1.055 GB, free: 49.77 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.913e-05/0.801, allocations: 58.7 kB / 1.055 GB, free: 49.7 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002195/0.8013, allocations: 226.3 kB / 1.055 GB, free: 49.56 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.865e-05/0.8013, allocations: 29.7 kB / 1.055 GB, free: 49.52 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001073/0.8014, allocations: 219.2 kB / 1.055 GB, free: 49.34 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.873e-05/0.8015, allocations: 65.02 kB / 1.055 GB, free: 49.29 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.214e-05/0.8015, allocations: 4 kB / 1.055 GB, free: 49.29 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.135e-05/0.8016, allocations: 333 kB / 1.056 GB, free: 48.96 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002135/0.8018, allocations: 90.81 kB / 1.056 GB, free: 48.94 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002592/0.8021, allocations: 182.3 kB / 1.056 GB, free: 48.8 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004541/0.8025, allocations: 278.7 kB / 1.056 GB, free: 48.64 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.8025, allocations: 1.469 kB / 1.056 GB, free: 48.64 MB / 0.698 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000868/0.8034, allocations: 395.2 kB / 1.057 GB, free: 48.47 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001024/0.8035, allocations: 165.8 kB / 1.057 GB, free: 48.28 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.216e-05/0.8035, allocations: 2.531 kB / 1.057 GB, free: 48.28 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005389/0.8041, allocations: 114.5 kB / 1.057 GB, free: 48.25 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002157/0.8043, allocations: 51.44 kB / 1.057 GB, free: 48.24 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002623/0.8069, allocations: 2.823 MB / 1.06 GB, free: 45.55 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002361/0.8072, allocations: 34.84 kB / 1.06 GB, free: 45.53 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.175e-05/0.8072, allocations: 16.16 kB / 1.06 GB, free: 45.52 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.929e-06/0.8072, allocations: 5.031 kB / 1.06 GB, free: 45.52 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007237/0.808, allocations: 314.9 kB / 1.06 GB, free: 45.42 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.808, allocations: 2.25 kB / 1.06 GB, free: 45.42 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002626/0.8083, allocations: 79.06 kB / 1.06 GB, free: 45.39 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002103/0.8085, allocations: 56.02 kB / 1.06 GB, free: 45.39 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001505/0.81, allocations: 1.501 MB / 1.062 GB, free: 44.02 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002062/0.8102, allocations: 27.83 kB / 1.062 GB, free: 44.01 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.785e-05/0.8102, allocations: 14.94 kB / 1.062 GB, free: 44 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0002215/0.8105, allocations: 247.4 kB / 1.062 GB, free: 43.79 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.4e-05/0.8105, allocations: 25.81 kB / 1.062 GB, free: 43.78 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.755e-05/0.8106, allocations: 29.22 kB / 1.062 GB, free: 43.75 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.8106, allocations: 10.84 kB / 1.062 GB, free: 43.74 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.8106, allocations: 3 kB / 1.062 GB, free: 43.74 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.8106, allocations: 3.938 kB / 1.062 GB, free: 43.74 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001207/0.8118, allocations: 0.8346 MB / 1.063 GB, free: 43.18 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.8118, allocations: 3.938 kB / 1.063 GB, free: 43.18 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001397/0.812, allocations: 40.81 kB / 1.063 GB, free: 43.17 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000344/0.8123, allocations: 106 kB / 1.063 GB, free: 43.14 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.158e-05/0.8124, allocations: 7.188 kB / 1.063 GB, free: 43.13 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0022/0.8146, allocations: 2.796 MB / 1.066 GB, free: 40.45 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.8146, allocations: 0 / 1.066 GB, free: 40.45 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007051/0.8153, allocations: 429.2 kB / 1.066 GB, free: 40.2 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 9.579e-05/0.8154, allocations: 114.7 kB / 1.066 GB, free: 40.09 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.968e-05/0.8154, allocations: 6.781 kB / 1.066 GB, free: 40.08 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001599/0.8156, allocations: 13.39 kB / 1.066 GB, free: 40.08 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.872e-05/0.8157, allocations: 21.73 kB / 1.066 GB, free: 40.07 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.555e-05/0.8157, allocations: 14.09 kB / 1.066 GB, free: 40.07 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001247/0.8158, allocations: 161.3 kB / 1.066 GB, free: 39.96 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8159, allocations: 4 kB / 1.066 GB, free: 39.96 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005837/0.8164, allocations: 169.7 kB / 1.067 GB, free: 39.92 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001238/0.8166, allocations: 104.9 kB / 1.067 GB, free: 39.83 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001649/0.8182, allocations: 0.7759 MB / 1.067 GB, free: 39.37 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.8182, allocations: 0 / 1.067 GB, free: 39.37 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006377/0.8189, allocations: 372.6 kB / 1.068 GB, free: 39.11 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004239/0.8193, allocations: 56.08 kB / 1.068 GB, free: 39.08 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001089/0.8204, allocations: 0.7316 MB / 1.069 GB, free: 38.6 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002801/0.8207, allocations: 0.8113 MB / 1.069 GB, free: 37.89 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002071/0.8209, allocations: 56.81 kB / 1.069 GB, free: 37.88 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.278e-05/0.821, allocations: 19.59 kB / 1.069 GB, free: 37.87 MB / 0.698 GB Notification: Performance of SimCode: time 3.11e-07/0.821, allocations: 0 / 1.069 GB, free: 37.87 MB / 0.698 GB Notification: Performance of Templates: time 0.007679/0.8287, allocations: 4.274 MB / 1.074 GB, free: 37.6 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.makefile (rm -f Buildings_latest_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; mkfifo Buildings_latest_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe >> ../files/Buildings_latest_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.sim & ./Buildings_latest_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe 2>&1)