Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Examples.Tutorial.SpaceCooling.System1.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Examples.Tutorial.SpaceCooling.System1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Examples.Tutorial.SpaceCooling.System1") translateModel(Buildings.Examples.Tutorial.SpaceCooling.System1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Examples.Tutorial.SpaceCooling.System1") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.238/1.238, allocations: 255.9 MB / 271.2 MB, free: 8.875 MB / 218.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.0009073/0.0009073, allocations: 194.5 kB / 330.8 MB, free: 452 kB / 250.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.298/1.298, allocations: 225.7 MB / 0.6016 GB, free: 1.605 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000752/0.000752, allocations: 103.6 kB / 0.709 GB, free: 7.086 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0002975/0.0002972, allocations: 9.781 kB / 0.8261 GB, free: 115.7 MB / 0.573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1504/0.1507, allocations: 109.2 MB / 0.9327 GB, free: 6.285 MB / 0.573 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.4484/0.5991, allocations: 151.3 MB / 1.08 GB, free: 1.402 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.00448/0.6036, allocations: 4.232 MB / 1.085 GB, free: 13.51 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002949/0.6039, allocations: 11.84 kB / 1.085 GB, free: 13.51 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.0005368/0.6045, allocations: 181.8 kB / 1.085 GB, free: 13.36 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.001489/0.606, allocations: 0.7366 MB / 1.086 GB, free: 12.79 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005987/0.6066, allocations: 313.7 kB / 1.086 GB, free: 12.56 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.001268/0.6079, allocations: 1.294 MB / 1.087 GB, free: 11.85 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002901/0.6082, allocations: 226.8 kB / 1.087 GB, free: 11.7 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004252/0.6086, allocations: 312.6 kB / 1.088 GB, free: 11.54 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007019/0.6093, allocations: 284.6 kB / 1.088 GB, free: 11.38 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 4.333e-05/0.6094, allocations: 11.59 kB / 1.088 GB, free: 11.38 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001086/0.6104, allocations: 0.7318 MB / 1.089 GB, free: 10.98 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.0001432/0.6106, allocations: 117.1 kB / 1.089 GB, free: 10.9 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.0002173/0.6108, allocations: 218 kB / 1.089 GB, free: 10.75 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.0009894/0.6118, allocations: 0.79 MB / 1.09 GB, free: 10.25 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.6118, allocations: 4 kB / 1.09 GB, free: 10.25 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.473e-06/0.6118, allocations: 1 kB / 1.09 GB, free: 10.25 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 1.324e-05/0.6119, allocations: 0 / 1.09 GB, free: 10.25 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.0009931/0.6129, allocations: 0.6402 MB / 1.09 GB, free: 9.676 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 3.186e-05/0.6129, allocations: 17.36 kB / 1.09 GB, free: 9.668 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009067/0.6138, allocations: 136.1 kB / 1.09 GB, free: 9.609 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005271/0.6144, allocations: 399.7 kB / 1.091 GB, free: 9.25 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.157e-05/0.6144, allocations: 18.91 kB / 1.091 GB, free: 9.242 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.84e-05/0.6144, allocations: 29.84 kB / 1.091 GB, free: 9.23 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004488/0.6149, allocations: 289.4 kB / 1.091 GB, free: 9.047 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/0.6149, allocations: 0 / 1.091 GB, free: 9.047 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.814e-05/0.6149, allocations: 11.62 kB / 1.091 GB, free: 9.039 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.921e-05/0.615, allocations: 8.75 kB / 1.091 GB, free: 9.039 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003219/0.6153, allocations: 192.5 kB / 1.091 GB, free: 8.945 MB / 0.6667 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001543/0.6169, allocations: 1.339 MB / 1.093 GB, free: 7.699 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004028/0.6173, allocations: 207.3 kB / 1.093 GB, free: 7.582 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001223/0.6174, allocations: 80.73 kB / 1.093 GB, free: 7.539 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 1.413e-05/0.6174, allocations: 1.281 kB / 1.093 GB, free: 7.539 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.952e-05/0.6174, allocations: 41.09 kB / 1.093 GB, free: 7.492 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=19): time 1.242e-06/0.6175, allocations: 0 / 1.093 GB, free: 7.492 MB / 0.6667 GB Notification: Performance of matching and sorting (n=19): time 0.0008236/0.6183, allocations: 402.5 kB / 1.093 GB, free: 7.219 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.832e-05/0.6183, allocations: 54.44 kB / 1.093 GB, free: 7.156 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002829/0.6186, allocations: 295.7 kB / 1.094 GB, free: 6.961 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 2.3e-05/0.6186, allocations: 31.42 kB / 1.094 GB, free: 6.926 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001029/0.6187, allocations: 194.7 kB / 1.094 GB, free: 6.75 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 5.459e-05/0.6188, allocations: 67.95 kB / 1.094 GB, free: 6.691 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.034e-05/0.6188, allocations: 5.781 kB / 1.094 GB, free: 6.688 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 9.659e-05/0.6189, allocations: 338 kB / 1.094 GB, free: 6.355 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.331e-05/0.619, allocations: 60.25 kB / 1.094 GB, free: 6.324 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001308/0.6192, allocations: 125.7 kB / 1.094 GB, free: 6.215 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00023/0.6194, allocations: 186.1 kB / 1.095 GB, free: 6.082 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.6194, allocations: 0 / 1.095 GB, free: 6.082 MB / 0.6667 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003222/0.6197, allocations: 249.6 kB / 1.095 GB, free: 5.941 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.6198, allocations: 9.484 kB / 1.095 GB, free: 5.938 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.738e-06/0.6198, allocations: 1.375 kB / 1.095 GB, free: 5.938 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.111e-05/0.6198, allocations: 2.75 kB / 1.095 GB, free: 5.938 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001944/0.62, allocations: 47.67 kB / 1.095 GB, free: 5.926 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.62, allocations: 2.75 kB / 1.095 GB, free: 5.926 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002721/0.6203, allocations: 28.22 kB / 1.095 GB, free: 5.906 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.302e-05/0.6203, allocations: 6.875 kB / 1.095 GB, free: 5.906 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (26): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000144/0.6204, allocations: 172.3 kB / 1.095 GB, free: 5.75 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.335e-05/0.6205, allocations: 34.69 kB / 1.095 GB, free: 5.73 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.346e-05/0.6206, allocations: 36.7 kB / 1.095 GB, free: 5.707 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.6206, allocations: 1.375 kB / 1.095 GB, free: 5.707 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.6206, allocations: 1.375 kB / 1.095 GB, free: 5.707 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.6206, allocations: 0.875 kB / 1.095 GB, free: 5.707 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004474/0.621, allocations: 407.1 kB / 1.096 GB, free: 5.348 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.6211, allocations: 7.938 kB / 1.096 GB, free: 5.34 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001744/0.6212, allocations: 31.23 kB / 1.096 GB, free: 5.336 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001815/0.6214, allocations: 43.95 kB / 1.096 GB, free: 5.309 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.48e-05/0.6215, allocations: 1.656 kB / 1.096 GB, free: 5.309 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009912/0.6224, allocations: 1.418 MB / 1.097 GB, free: 3.871 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.6225, allocations: 1.062 kB / 1.097 GB, free: 3.871 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005012/0.623, allocations: 411.8 kB / 1.097 GB, free: 3.582 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001198/0.6231, allocations: 127.5 kB / 1.098 GB, free: 3.453 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.736e-05/0.6231, allocations: 5.688 kB / 1.098 GB, free: 3.449 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002711/0.6234, allocations: 20.83 kB / 1.098 GB, free: 3.438 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.047e-05/0.6235, allocations: 15.11 kB / 1.098 GB, free: 3.43 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.502e-05/0.6235, allocations: 7.906 kB / 1.098 GB, free: 3.426 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0001926/0.6237, allocations: 219.1 kB / 1.098 GB, free: 3.281 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6237, allocations: 4 kB / 1.098 GB, free: 3.277 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.000348/0.624, allocations: 110.5 kB / 1.098 GB, free: 3.258 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1]) * 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): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001478/0.6242, allocations: 116.1 kB / 1.098 GB, free: 3.16 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0002529/0.6245, allocations: 156 kB / 1.098 GB, free: 3.094 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.6245, allocations: 1.375 kB / 1.098 GB, free: 3.094 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0002656/0.6247, allocations: 204 kB / 1.098 GB, free: 2.934 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008406/0.6256, allocations: 181.1 kB / 1.099 GB, free: 2.848 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001036/0.6266, allocations: 0.9386 MB / 1.1 GB, free: 2.125 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002961/0.6269, allocations: 0.7986 MB / 1.1 GB, free: 1.371 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0002275/0.6272, allocations: 60.2 kB / 1.1 GB, free: 1.344 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.694e-05/0.6272, allocations: 27.47 kB / 1.1 GB, free: 1.336 MB / 0.6667 GB Notification: Performance of SimCode: time 2.3e-07/0.6272, allocations: 4 kB / 1.1 GB, free: 1.332 MB / 0.6667 GB Notification: Performance of Templates: time 0.008819/0.6361, allocations: 5.976 MB / 1.106 GB, free: 14.4 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Examples.Tutorial.SpaceCooling.System1.makefile (rm -f Buildings_maint.7.0.x_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Examples.Tutorial.SpaceCooling.System1.sim & ./Buildings_maint.7.0.x_Buildings.Examples.Tutorial.SpaceCooling.System1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe 2>&1)