Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Examples.Tutorial.SpaceCooling.System1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007702/0.00077, allocations: 86.95 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008196/0.0008196, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.367/1.367, allocations: 205.4 MB / 222.1 MB, free: 5.621 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.473/1.473, allocations: 252 MB / 0.5102 GB, free: 4.719 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004775/0.0004775, allocations: 16 kB / 0.6243 GB, free: 1.086 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4957/0.4962, allocations: 106.3 MB / 0.7281 GB, free: 11.39 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.1663/0.6625, allocations: 147.5 MB / 0.8722 GB, free: 7.43 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.004187/0.6667, allocations: 2.722 MB / 0.8749 GB, free: 4.699 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004431/0.6672, allocations: 11.94 kB / 0.8749 GB, free: 4.688 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0005773/0.6678, allocations: 151.1 kB / 0.875 GB, free: 4.539 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.001576/0.6694, allocations: 0.5703 MB / 0.8756 GB, free: 3.969 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006705/0.67, allocations: 247.4 kB / 0.8758 GB, free: 3.727 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.001193/0.6712, allocations: 1.107 MB / 0.8769 GB, free: 2.617 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002985/0.6716, allocations: 199.4 kB / 0.8771 GB, free: 2.422 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000475/0.672, allocations: 298.7 kB / 0.8774 GB, free: 2.129 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000419/0.6725, allocations: 270.9 kB / 0.8776 GB, free: 1.863 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 3.729e-05/0.6725, allocations: 12 kB / 0.8776 GB, free: 1.852 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008054/0.6733, allocations: 319.2 kB / 0.8779 GB, free: 1.539 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0001326/0.6735, allocations: 111.6 kB / 0.878 GB, free: 1.43 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 8.585e-05/0.6736, allocations: 101.5 kB / 0.8781 GB, free: 1.324 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.0005353/0.6741, allocations: 0.5299 MB / 0.8787 GB, free: 0.793 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.6741, allocations: 0 / 0.8787 GB, free: 0.793 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.633e-06/0.6741, allocations: 0 / 0.8787 GB, free: 0.793 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.6742, allocations: 4 kB / 0.8787 GB, free: 0.7891 MB / 0.6856 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.0009737/0.6751, allocations: 0.6427 MB / 0.8793 GB, free: 100 kB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.384e-05/0.6752, allocations: 12.03 kB / 0.8793 GB, free: 88 kB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009673/0.6762, allocations: 135.6 kB / 0.8794 GB, free: 15.95 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005188/0.6767, allocations: 394.6 kB / 0.8798 GB, free: 15.52 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.149e-05/0.6767, allocations: 24.28 kB / 0.8798 GB, free: 15.5 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.937e-05/0.6768, allocations: 32 kB / 0.8799 GB, free: 15.47 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004361/0.6772, allocations: 279.7 kB / 0.8801 GB, free: 15.19 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/0.6772, allocations: 0 / 0.8801 GB, free: 15.19 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.786e-05/0.6773, allocations: 8 kB / 0.8801 GB, free: 15.18 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.607e-05/0.6773, allocations: 12.56 kB / 0.8801 GB, free: 15.17 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003089/0.6776, allocations: 194.1 kB / 0.8803 GB, free: 14.98 MB / 0.7012 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.001605/0.6792, allocations: 1.338 MB / 0.8816 GB, free: 13.5 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004079/0.6796, allocations: 198.9 kB / 0.8818 GB, free: 13.3 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000122/0.6798, allocations: 84.77 kB / 0.8819 GB, free: 13.21 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 1.696e-05/0.6798, allocations: 0 / 0.8819 GB, free: 13.21 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.984e-05/0.6798, allocations: 38.56 kB / 0.8819 GB, free: 13.16 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=19): time 1.292e-06/0.6798, allocations: 0 / 0.8819 GB, free: 13.16 MB / 0.7012 GB Notification: Performance of matching and sorting (n=19): time 0.0008689/0.6807, allocations: 399 kB / 0.8823 GB, free: 12.75 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.884e-05/0.6808, allocations: 55.36 kB / 0.8824 GB, free: 12.68 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002977/0.6811, allocations: 300.5 kB / 0.8827 GB, free: 12.38 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 2.663e-05/0.6811, allocations: 33.7 kB / 0.8827 GB, free: 12.34 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001254/0.6812, allocations: 188.3 kB / 0.8829 GB, free: 12.15 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 6.574e-05/0.6813, allocations: 82.98 kB / 0.883 GB, free: 12.07 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.856e-06/0.6813, allocations: 0 / 0.883 GB, free: 12.07 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.000124/0.6815, allocations: 338.8 kB / 0.8833 GB, free: 11.73 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.739e-05/0.6816, allocations: 59.97 kB / 0.8833 GB, free: 11.67 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001249/0.6817, allocations: 110.8 kB / 0.8834 GB, free: 11.54 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001311/0.6818, allocations: 87.95 kB / 0.8835 GB, free: 11.45 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/0.6818, allocations: 0 / 0.8835 GB, free: 11.45 MB / 0.7012 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003314/0.6822, allocations: 237.1 kB / 0.8838 GB, free: 11.21 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.007e-05/0.6822, allocations: 4 kB / 0.8838 GB, free: 11.21 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.6822, allocations: 8.188 kB / 0.8838 GB, free: 11.2 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.627e-05/0.6822, allocations: 4 kB / 0.8838 GB, free: 11.2 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001859/0.6824, allocations: 43.86 kB / 0.8838 GB, free: 11.16 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.056e-06/0.6825, allocations: 7.953 kB / 0.8838 GB, free: 11.15 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002772/0.6827, allocations: 30.22 kB / 0.8838 GB, free: 11.12 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.753e-05/0.6828, allocations: 12 kB / 0.8839 GB, free: 11.11 MB / 0.7012 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.0001545/0.6829, allocations: 165.7 kB / 0.884 GB, free: 10.94 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.833e-05/0.683, allocations: 35.62 kB / 0.884 GB, free: 10.9 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.942e-05/0.6831, allocations: 39.08 kB / 0.8841 GB, free: 10.86 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.6831, allocations: 4 kB / 0.8841 GB, free: 10.86 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/0.6831, allocations: 0 / 0.8841 GB, free: 10.86 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.6831, allocations: 3.953 kB / 0.8841 GB, free: 10.85 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000468/0.6836, allocations: 409.3 kB / 0.8845 GB, free: 10.4 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.6836, allocations: 0 / 0.8845 GB, free: 10.4 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001791/0.6838, allocations: 35.92 kB / 0.8845 GB, free: 10.37 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002034/0.684, allocations: 40.83 kB / 0.8846 GB, free: 10.32 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.966e-05/0.684, allocations: 11.98 kB / 0.8846 GB, free: 10.31 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001116/0.6851, allocations: 1.397 MB / 0.8859 GB, free: 8.785 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.6851, allocations: 0 / 0.8859 GB, free: 8.785 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005331/0.6857, allocations: 401.9 kB / 0.8863 GB, free: 8.375 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001331/0.6858, allocations: 136.7 kB / 0.8864 GB, free: 8.223 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.463e-05/0.6859, allocations: 0 / 0.8864 GB, free: 8.223 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002617/0.6861, allocations: 30 kB / 0.8865 GB, free: 8.195 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.253e-05/0.6862, allocations: 19.91 kB / 0.8865 GB, free: 8.176 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.714e-05/0.6862, allocations: 11.98 kB / 0.8865 GB, free: 8.164 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.000204/0.6864, allocations: 215.1 kB / 0.8867 GB, free: 7.957 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6864, allocations: 0 / 0.8867 GB, free: 7.957 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0004078/0.6868, allocations: 107.7 kB / 0.8868 GB, free: 7.852 MB / 0.7012 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.0001707/0.687, allocations: 111.2 kB / 0.8869 GB, free: 7.734 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0002733/0.6873, allocations: 166 kB / 0.8871 GB, free: 7.574 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.6873, allocations: 384 / 0.8871 GB, free: 7.574 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0002788/0.6876, allocations: 202.6 kB / 0.8873 GB, free: 7.363 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008769/0.6885, allocations: 179.2 kB / 0.8874 GB, free: 7.188 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001157/0.6897, allocations: 0.9642 MB / 0.8884 GB, free: 6.195 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003196/0.69, allocations: 0.7998 MB / 0.8892 GB, free: 5.367 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0002531/0.6902, allocations: 58.94 kB / 0.8892 GB, free: 5.312 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.185e-05/0.6903, allocations: 27.44 kB / 0.8892 GB, free: 5.285 MB / 0.7012 GB Notification: Performance of SimCode: time 4.91e-07/0.6903, allocations: 0 / 0.8892 GB, free: 5.285 MB / 0.7012 GB Notification: Performance of Templates: time 0.009945/0.7003, allocations: 5.801 MB / 0.8949 GB, free: 15.6 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Examples.Tutorial.SpaceCooling.System1.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: