Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Examples.Tutorial.SpaceCooling.System1.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Examples.Tutorial.SpaceCooling.System1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Examples.Tutorial.SpaceCooling.System1") translateModel(Buildings.Examples.Tutorial.SpaceCooling.System1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Examples.Tutorial.SpaceCooling.System1") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.223/2.223, allocations: 254.9 MB / 269.9 MB, free: 9.641 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.001428/0.001427, allocations: 187.2 kB / 329.5 MB, free: 1.172 MB / 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 2.337/2.337, allocations: 225.6 MB / 0.6001 GB, free: 2.234 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.001056/0.001027, allocations: 103.2 kB / 0.7074 GB, free: 7.945 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0006886/0.0006897, allocations: 18.08 kB / 0.8242 GB, free: 124.4 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2159/0.2167, allocations: 109.1 MB / 0.9308 GB, free: 25.14 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.969/1.186, allocations: 147.5 MB / 1.075 GB, free: 0.8789 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.005558/1.191, allocations: 2.737 MB / 1.077 GB, free: 0.6445 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006764/1.192, allocations: 12.5 kB / 1.077 GB, free: 0.6406 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.0006662/1.193, allocations: 136.6 kB / 1.078 GB, free: 0.5977 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.00215/1.195, allocations: 0.5753 MB / 1.078 GB, free: 460 kB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.001063/1.196, allocations: 238 kB / 1.078 GB, free: 440 kB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.00187/1.198, allocations: 1.112 MB / 1.079 GB, free: 264 kB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004389/1.198, allocations: 212.6 kB / 1.08 GB, free: 236 kB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007717/1.199, allocations: 300 kB / 1.08 GB, free: 164 kB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006431/1.2, allocations: 273 kB / 1.08 GB, free: 112 kB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 7.162e-05/1.2, allocations: 11.94 kB / 1.08 GB, free: 112 kB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001307/1.201, allocations: 317.6 kB / 1.081 GB, free: 72 kB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0001894/1.201, allocations: 115.7 kB / 1.081 GB, free: 56 kB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0001832/1.202, allocations: 101.6 kB / 1.081 GB, free: 16.01 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.0008827/1.202, allocations: 0.5229 MB / 1.081 GB, free: 15.97 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 5.361e-06/1.203, allocations: 3.938 kB / 1.081 GB, free: 15.97 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.944e-06/1.203, allocations: 0 / 1.081 GB, free: 15.97 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 6.712e-06/1.203, allocations: 4 kB / 1.081 GB, free: 15.96 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.001454/1.204, allocations: 0.6488 MB / 1.082 GB, free: 15.47 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/1.204, allocations: 10.02 kB / 1.082 GB, free: 15.47 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001346/1.205, allocations: 142.7 kB / 1.082 GB, free: 15.44 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008097/1.206, allocations: 391.8 kB / 1.082 GB, free: 15.2 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.757e-05/1.206, allocations: 24.06 kB / 1.082 GB, free: 15.2 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.722e-05/1.206, allocations: 25.34 kB / 1.082 GB, free: 15.2 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006794/1.207, allocations: 286.2 kB / 1.083 GB, free: 15.14 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.947e-05/1.207, allocations: 2.688 kB / 1.083 GB, free: 15.14 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.502e-05/1.207, allocations: 8.031 kB / 1.083 GB, free: 15.14 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.975e-05/1.207, allocations: 13.19 kB / 1.083 GB, free: 15.14 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005119/1.208, allocations: 193.4 kB / 1.083 GB, free: 15.14 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.00243/1.21, allocations: 1.335 MB / 1.084 GB, free: 14.28 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006266/1.211, allocations: 197.9 kB / 1.084 GB, free: 14.25 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002149/1.211, allocations: 87.8 kB / 1.085 GB, free: 14.24 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 2.391e-05/1.211, allocations: 1.812 kB / 1.085 GB, free: 14.24 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.957e-05/1.211, allocations: 34.75 kB / 1.085 GB, free: 14.2 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=19): time 2.976e-06/1.211, allocations: 0 / 1.085 GB, free: 14.2 MB / 0.6667 GB Notification: Performance of matching and sorting (n=19): time 0.001352/1.212, allocations: 396.2 kB / 1.085 GB, free: 14.04 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.96e-05/1.213, allocations: 54.75 kB / 1.085 GB, free: 13.97 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004233/1.213, allocations: 299.5 kB / 1.085 GB, free: 13.87 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 4.239e-05/1.213, allocations: 32.23 kB / 1.085 GB, free: 13.84 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001655/1.213, allocations: 193.5 kB / 1.086 GB, free: 13.72 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 9.958e-05/1.213, allocations: 74.3 kB / 1.086 GB, free: 13.67 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.561e-05/1.213, allocations: 2.188 kB / 1.086 GB, free: 13.67 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001438/1.213, allocations: 345.5 kB / 1.086 GB, free: 13.36 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001593/1.214, allocations: 63.47 kB / 1.086 GB, free: 13.35 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002174/1.214, allocations: 118.8 kB / 1.086 GB, free: 13.29 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001976/1.214, allocations: 80.88 kB / 1.086 GB, free: 13.28 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/1.214, allocations: 0 / 1.086 GB, free: 13.28 MB / 0.6667 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005244/1.215, allocations: 245.8 kB / 1.086 GB, free: 13.22 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/1.215, allocations: 6.719 kB / 1.086 GB, free: 13.22 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/1.215, allocations: 0 / 1.086 GB, free: 13.22 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.837e-05/1.215, allocations: 3.031 kB / 1.086 GB, free: 13.22 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003792/1.215, allocations: 52.95 kB / 1.086 GB, free: 13.21 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.338e-06/1.215, allocations: 6.938 kB / 1.086 GB, free: 13.21 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00053/1.216, allocations: 21.64 kB / 1.086 GB, free: 13.2 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.955e-05/1.216, allocations: 6.625 kB / 1.086 GB, free: 13.2 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002345/1.216, allocations: 166 kB / 1.087 GB, free: 13.08 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.776e-05/1.216, allocations: 36.56 kB / 1.087 GB, free: 13.06 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.603e-05/1.216, allocations: 39.3 kB / 1.087 GB, free: 13.05 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.077e-06/1.216, allocations: 0 / 1.087 GB, free: 13.05 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.789e-06/1.216, allocations: 5.234 kB / 1.087 GB, free: 13.05 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/1.216, allocations: 0 / 1.087 GB, free: 13.05 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007124/1.217, allocations: 404 kB / 1.087 GB, free: 12.86 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/1.217, allocations: 5.797 kB / 1.087 GB, free: 12.86 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003397/1.217, allocations: 43.33 kB / 1.087 GB, free: 12.85 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002868/1.218, allocations: 40.17 kB / 1.087 GB, free: 12.84 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.123e-05/1.218, allocations: 7.5 kB / 1.087 GB, free: 12.84 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001518/1.219, allocations: 1.413 MB / 1.089 GB, free: 11.57 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/1.219, allocations: 0 / 1.089 GB, free: 11.57 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008426/1.22, allocations: 409.1 kB / 1.089 GB, free: 11.4 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002268/1.22, allocations: 131.8 kB / 1.089 GB, free: 11.29 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.458e-05/1.22, allocations: 7.875 kB / 1.089 GB, free: 11.29 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004954/1.221, allocations: 13.39 kB / 1.089 GB, free: 11.28 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.047e-05/1.221, allocations: 17.17 kB / 1.089 GB, free: 11.28 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.45e-05/1.221, allocations: 6.125 kB / 1.089 GB, free: 11.28 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0003017/1.221, allocations: 218.5 kB / 1.089 GB, free: 11.2 MB / 0.6667 GB Notification: Performance of sort global known variables: time 4.01e-07/1.221, allocations: 0 / 1.089 GB, free: 11.2 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0005817/1.222, allocations: 108.7 kB / 1.089 GB, free: 11.19 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002195/1.222, allocations: 123.2 kB / 1.09 GB, free: 11.09 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0003996/1.223, allocations: 156.5 kB / 1.09 GB, free: 11.08 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/1.223, allocations: 0 / 1.09 GB, free: 11.08 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.000448/1.223, allocations: 205.3 kB / 1.09 GB, free: 10.96 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001644/1.225, allocations: 186.1 kB / 1.09 GB, free: 10.95 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001837/1.227, allocations: 0.9617 MB / 1.091 GB, free: 10.39 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004387/1.227, allocations: 0.8039 MB / 1.092 GB, free: 9.688 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0004943/1.227, allocations: 59.28 kB / 1.092 GB, free: 9.672 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001068/1.228, allocations: 27.94 kB / 1.092 GB, free: 9.664 MB / 0.6667 GB Notification: Performance of SimCode: time 1.062e-06/1.228, allocations: 0 / 1.092 GB, free: 9.664 MB / 0.6667 GB Notification: Performance of Templates: time 0.01755/1.245, allocations: 5.792 MB / 1.098 GB, free: 6.891 MB / 0.6667 GB make -j1 -f Buildings_7.0.0_Buildings.Examples.Tutorial.SpaceCooling.System1.makefile (rm -f Buildings_7.0.0_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; mkfifo Buildings_7.0.0_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe >> ../files/Buildings_7.0.0_Buildings.Examples.Tutorial.SpaceCooling.System1.sim & ./Buildings_7.0.0_Buildings.Examples.Tutorial.SpaceCooling.System1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe 2>&1)