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.004817/0.004817, allocations: 99.45 kB / 15.73 MB, free: 6.059 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.001196/0.001196, allocations: 193.2 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.162/1.162, allocations: 205.1 MB / 222.5 MB, free: 4.492 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.342/1.342, allocations: 251.7 MB / 0.5094 GB, free: 3.027 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.001294/0.001294, allocations: 73.78 kB / 0.7258 GB, free: 9.051 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1613/0.1626, allocations: 104.7 MB / 0.828 GB, free: 252 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.4942/0.6569, allocations: 162.5 MB / 0.9867 GB, free: 15.02 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.003805/0.6608, allocations: 2.921 MB / 0.9895 GB, free: 12.96 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002703/0.661, allocations: 18 kB / 0.9895 GB, free: 12.95 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.00054/0.6616, allocations: 207.8 kB / 0.9897 GB, free: 12.84 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.00141/0.663, allocations: 0.7735 MB / 0.9905 GB, free: 12.36 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.000658/0.6637, allocations: 366.2 kB / 0.9908 GB, free: 12.08 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.001024/0.6647, allocations: 0.9901 MB / 0.9918 GB, free: 11.5 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002871/0.665, allocations: 267.5 kB / 0.9921 GB, free: 11.32 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000413/0.6655, allocations: 358.9 kB / 0.9924 GB, free: 11.11 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008803/0.6663, allocations: 304.9 kB / 0.9927 GB, free: 10.93 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 7.375e-05/0.6664, allocations: 33.31 kB / 0.9927 GB, free: 10.93 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001326/0.6678, allocations: 0.6369 MB / 0.9934 GB, free: 10.59 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0002009/0.668, allocations: 146.7 kB / 0.9935 GB, free: 10.48 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0002291/0.6682, allocations: 217.4 kB / 0.9937 GB, free: 10.34 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.001097/0.6693, allocations: 0.7789 MB / 0.9945 GB, free: 9.848 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.6693, allocations: 0 / 0.9945 GB, free: 9.848 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.613e-06/0.6693, allocations: 0 / 0.9945 GB, free: 9.848 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 7.053e-06/0.6694, allocations: 0 / 0.9945 GB, free: 9.848 MB / 0.7481 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.001013/0.6704, allocations: 0.7351 MB / 0.9952 GB, free: 9.207 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/0.6704, allocations: 9.625 kB / 0.9952 GB, free: 9.207 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009002/0.6713, allocations: 144 kB / 0.9953 GB, free: 9.141 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005415/0.6719, allocations: 418.4 kB / 0.9957 GB, free: 8.773 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.078e-05/0.6719, allocations: 22.19 kB / 0.9957 GB, free: 8.762 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.451e-05/0.6719, allocations: 31.48 kB / 0.9958 GB, free: 8.75 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000418/0.6724, allocations: 285.3 kB / 0.996 GB, free: 8.566 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.383e-05/0.6724, allocations: 0 / 0.996 GB, free: 8.566 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.734e-05/0.6724, allocations: 14.41 kB / 0.9961 GB, free: 8.555 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.843e-05/0.6725, allocations: 8.656 kB / 0.9961 GB, free: 8.555 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002918/0.6727, allocations: 195.8 kB / 0.9963 GB, free: 8.465 MB / 0.7481 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.00149/0.6742, allocations: 1.315 MB / 0.9975 GB, free: 7.234 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003679/0.6746, allocations: 200.8 kB / 0.9977 GB, free: 7.125 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001157/0.6747, allocations: 85.14 kB / 0.9978 GB, free: 7.078 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 1.583e-05/0.6748, allocations: 2.562 kB / 0.9978 GB, free: 7.078 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.16e-05/0.6748, allocations: 33.81 kB / 0.9978 GB, free: 7.039 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=19): time 2.485e-06/0.6748, allocations: 4 kB / 0.9979 GB, free: 7.035 MB / 0.7481 GB Notification: Performance of matching and sorting (n=19): time 0.0007938/0.6756, allocations: 401.2 kB / 0.9982 GB, free: 6.762 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.444e-05/0.6756, allocations: 53.19 kB / 0.9983 GB, free: 6.699 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002597/0.6759, allocations: 314.1 kB / 0.9986 GB, free: 6.484 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.295e-05/0.6759, allocations: 32.39 kB / 0.9986 GB, free: 6.449 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001242/0.6761, allocations: 194.6 kB / 0.9988 GB, free: 6.273 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 5.506e-05/0.6761, allocations: 77.44 kB / 0.9989 GB, free: 6.207 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.996e-05/0.6762, allocations: 40.47 kB / 0.9989 GB, free: 6.176 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001185/0.6763, allocations: 346.5 kB / 0.9992 GB, free: 5.836 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.029e-05/0.6764, allocations: 54.11 kB / 0.9993 GB, free: 5.812 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001208/0.6766, allocations: 134.4 kB / 0.9994 GB, free: 5.695 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002205/0.6768, allocations: 186.6 kB / 0.9996 GB, free: 5.562 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.6768, allocations: 0 / 0.9996 GB, free: 5.562 MB / 0.7481 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003011/0.6771, allocations: 258.5 kB / 0.9998 GB, free: 5.414 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.6771, allocations: 7.938 kB / 0.9999 GB, free: 5.414 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.6771, allocations: 2.75 kB / 0.9999 GB, free: 5.414 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.6771, allocations: 3.406 kB / 0.9999 GB, free: 5.414 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001703/0.6773, allocations: 43.45 kB / 0.9999 GB, free: 5.406 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.365e-06/0.6773, allocations: 9.188 kB / 0.9999 GB, free: 5.402 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000243/0.6776, allocations: 18.56 kB / 0.9999 GB, free: 5.387 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.309e-05/0.6776, allocations: 6.844 kB / 0.9999 GB, free: 5.387 MB / 0.7481 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.0001354/0.6777, allocations: 160.1 kB / 1 GB, free: 5.242 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.511e-05/0.6778, allocations: 35.25 kB / 1 GB, free: 5.223 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.007e-05/0.6779, allocations: 34.61 kB / 1 GB, free: 5.195 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.6779, allocations: 6.594 kB / 1 GB, free: 5.191 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.6779, allocations: 2.688 kB / 1 GB, free: 5.191 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.6779, allocations: 7.984 kB / 1 GB, free: 5.184 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004317/0.6783, allocations: 405.2 kB / 1.001 GB, free: 4.824 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.277e-06/0.6784, allocations: 7.188 kB / 1.001 GB, free: 4.82 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001627/0.6785, allocations: 35.3 kB / 1.001 GB, free: 4.812 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001789/0.6787, allocations: 40.86 kB / 1.001 GB, free: 4.789 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.618e-05/0.6787, allocations: 7.156 kB / 1.001 GB, free: 4.785 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00105/0.6798, allocations: 1.504 MB / 1.002 GB, free: 3.266 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.6798, allocations: 0 / 1.002 GB, free: 3.266 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004908/0.6803, allocations: 424 kB / 1.003 GB, free: 2.969 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001175/0.6804, allocations: 139.2 kB / 1.003 GB, free: 2.828 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.494e-05/0.6805, allocations: 6.906 kB / 1.003 GB, free: 2.824 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000246/0.6807, allocations: 6.766 kB / 1.003 GB, free: 2.82 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.782e-05/0.6807, allocations: 12.55 kB / 1.003 GB, free: 2.812 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.362e-05/0.6808, allocations: 5.531 kB / 1.003 GB, free: 2.812 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001828/0.681, allocations: 221.6 kB / 1.003 GB, free: 2.668 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1e-07/0.681, allocations: 0 / 1.003 GB, free: 2.668 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003358/0.6813, allocations: 110 kB / 1.003 GB, free: 2.648 MB / 0.7481 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.0001416/0.6815, allocations: 117.4 kB / 1.003 GB, free: 2.551 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0002534/0.6817, allocations: 163.3 kB / 1.003 GB, free: 2.48 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.6817, allocations: 0 / 1.003 GB, free: 2.48 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002412/0.682, allocations: 199.2 kB / 1.003 GB, free: 2.324 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000832/0.6828, allocations: 196.7 kB / 1.004 GB, free: 2.227 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009459/0.6838, allocations: 0.7438 MB / 1.004 GB, free: 1.695 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003163/0.6841, allocations: 0.7972 MB / 1.005 GB, free: 0.9414 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001831/0.6843, allocations: 54.34 kB / 1.005 GB, free: 0.918 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.759e-05/0.6843, allocations: 28.06 kB / 1.005 GB, free: 0.9102 MB / 0.7481 GB Notification: Performance of SimCode: time 2.4e-07/0.6844, allocations: 4 kB / 1.005 GB, free: 0.9062 MB / 0.7481 GB Notification: Performance of Templates: time 0.009159/0.6935, allocations: 6.337 MB / 1.011 GB, free: 13.8 MB / 0.7637 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)