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.004715/0.004715, allocations: 101.1 kB / 15.73 MB, free: 6.039 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.001074/0.001074, allocations: 190.4 kB / 16.67 MB, free: 5.977 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.205/1.205, allocations: 205.1 MB / 222.5 MB, free: 4.363 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.374/1.374, allocations: 251.7 MB / 0.5094 GB, free: 3.031 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.001549/0.001549, allocations: 67.91 kB / 0.7257 GB, free: 9.156 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1785/0.18, allocations: 104.7 MB / 0.828 GB, free: 352 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.5665/0.7466, allocations: 162.5 MB / 0.9867 GB, free: 15.05 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.004064/0.7507, allocations: 2.925 MB / 0.9895 GB, free: 12.99 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003466/0.7511, allocations: 14.94 kB / 0.9895 GB, free: 12.99 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.0005884/0.7517, allocations: 214 kB / 0.9897 GB, free: 12.87 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.001656/0.7534, allocations: 0.808 MB / 0.9905 GB, free: 12.38 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007392/0.7541, allocations: 359 kB / 0.9909 GB, free: 12.1 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.001031/0.7552, allocations: 0.9995 MB / 0.9918 GB, free: 11.52 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000331/0.7555, allocations: 275.4 kB / 0.9921 GB, free: 11.33 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005181/0.756, allocations: 363.9 kB / 0.9925 GB, free: 11.12 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006505/0.7567, allocations: 296.5 kB / 0.9927 GB, free: 10.95 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 4.518e-05/0.7567, allocations: 34.22 kB / 0.9928 GB, free: 10.95 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009675/0.7577, allocations: 0.6501 MB / 0.9934 GB, free: 10.6 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0001541/0.7579, allocations: 147.2 kB / 0.9935 GB, free: 10.49 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0002012/0.7581, allocations: 217.5 kB / 0.9938 GB, free: 10.36 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.0009487/0.759, allocations: 0.7771 MB / 0.9945 GB, free: 9.855 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.7591, allocations: 0 / 0.9945 GB, free: 9.855 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.503e-06/0.7591, allocations: 0 / 0.9945 GB, free: 9.855 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 8.345e-06/0.7591, allocations: 0 / 0.9945 GB, free: 9.855 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.001126/0.7602, allocations: 0.7182 MB / 0.9952 GB, free: 9.234 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.7603, allocations: 8.094 kB / 0.9952 GB, free: 9.234 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000958/0.7612, allocations: 143 kB / 0.9954 GB, free: 9.168 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005491/0.7618, allocations: 419.7 kB / 0.9958 GB, free: 8.801 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.218e-05/0.7618, allocations: 18.94 kB / 0.9958 GB, free: 8.793 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.445e-05/0.7619, allocations: 23.94 kB / 0.9958 GB, free: 8.785 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004898/0.7624, allocations: 299.3 kB / 0.9961 GB, free: 8.59 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.517e-05/0.7624, allocations: 0 / 0.9961 GB, free: 8.59 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.012e-05/0.7624, allocations: 10.09 kB / 0.9961 GB, free: 8.582 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.908e-05/0.7624, allocations: 10.69 kB / 0.9961 GB, free: 8.582 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003078/0.7628, allocations: 192.6 kB / 0.9963 GB, free: 8.492 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.001528/0.7643, allocations: 1.324 MB / 0.9976 GB, free: 7.254 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003815/0.7647, allocations: 201.2 kB / 0.9978 GB, free: 7.145 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001142/0.7648, allocations: 84.48 kB / 0.9979 GB, free: 7.098 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 1.937e-05/0.7648, allocations: 2.906 kB / 0.9979 GB, free: 7.098 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.482e-05/0.7649, allocations: 33.34 kB / 0.9979 GB, free: 7.059 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=19): time 1.243e-06/0.7649, allocations: 0 / 0.9979 GB, free: 7.059 MB / 0.7481 GB Notification: Performance of matching and sorting (n=19): time 0.0008672/0.7657, allocations: 400.3 kB / 0.9983 GB, free: 6.781 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.436e-05/0.7658, allocations: 54.72 kB / 0.9983 GB, free: 6.719 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002947/0.7661, allocations: 300.8 kB / 0.9986 GB, free: 6.52 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.643e-05/0.7661, allocations: 29.7 kB / 0.9986 GB, free: 6.484 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.00013/0.7663, allocations: 196.2 kB / 0.9988 GB, free: 6.309 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 5.867e-05/0.7663, allocations: 70.55 kB / 0.9989 GB, free: 6.246 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.172e-05/0.7664, allocations: 48.7 kB / 0.9989 GB, free: 6.207 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001169/0.7665, allocations: 338.6 kB / 0.9993 GB, free: 5.875 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.695e-05/0.7666, allocations: 57.88 kB / 0.9993 GB, free: 5.848 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001264/0.7668, allocations: 126.2 kB / 0.9994 GB, free: 5.738 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002323/0.767, allocations: 200.2 kB / 0.9996 GB, free: 5.598 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.767, allocations: 0 / 0.9996 GB, free: 5.598 MB / 0.7481 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003149/0.7673, allocations: 247.2 kB / 0.9999 GB, free: 5.457 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.7674, allocations: 5 kB / 0.9999 GB, free: 5.457 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.7674, allocations: 6.516 kB / 0.9999 GB, free: 5.453 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.7674, allocations: 2.656 kB / 0.9999 GB, free: 5.453 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001798/0.7676, allocations: 43.14 kB / 0.9999 GB, free: 5.445 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.525e-06/0.7676, allocations: 2.75 kB / 0.9999 GB, free: 5.445 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002719/0.7679, allocations: 20.81 kB / 0.9999 GB, free: 5.43 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.51e-05/0.7679, allocations: 7.625 kB / 1 GB, free: 5.43 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.0001391/0.768, allocations: 165.8 kB / 1 GB, free: 5.277 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.634e-05/0.7681, allocations: 34.88 kB / 1 GB, free: 5.258 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.214e-05/0.7682, allocations: 40.91 kB / 1 GB, free: 5.227 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.7682, allocations: 2.75 kB / 1 GB, free: 5.227 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.7682, allocations: 0 / 1 GB, free: 5.227 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.7682, allocations: 3.984 kB / 1 GB, free: 5.223 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004379/0.7686, allocations: 407.3 kB / 1.001 GB, free: 4.863 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.7687, allocations: 5.25 kB / 1.001 GB, free: 4.859 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001753/0.7688, allocations: 39.97 kB / 1.001 GB, free: 4.848 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002045/0.769, allocations: 42.27 kB / 1.001 GB, free: 4.82 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.882e-05/0.7691, allocations: 6.875 kB / 1.001 GB, free: 4.816 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001051/0.7701, allocations: 1.511 MB / 1.002 GB, free: 3.293 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.7701, allocations: 0 / 1.002 GB, free: 3.293 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004751/0.7706, allocations: 405.3 kB / 1.003 GB, free: 3.012 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001131/0.7707, allocations: 139.8 kB / 1.003 GB, free: 2.871 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.193e-05/0.7708, allocations: 6.969 kB / 1.003 GB, free: 2.867 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002433/0.771, allocations: 6.625 kB / 1.003 GB, free: 2.863 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.804e-05/0.7711, allocations: 19.66 kB / 1.003 GB, free: 2.852 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.509e-05/0.7711, allocations: 5.75 kB / 1.003 GB, free: 2.852 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001744/0.7713, allocations: 215.1 kB / 1.003 GB, free: 2.711 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7713, allocations: 2.5 kB / 1.003 GB, free: 2.711 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.000349/0.7716, allocations: 107.7 kB / 1.003 GB, free: 2.691 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.0001591/0.7718, allocations: 128.3 kB / 1.003 GB, free: 2.582 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0002732/0.7721, allocations: 155.6 kB / 1.003 GB, free: 2.52 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.7721, allocations: 4.125 kB / 1.003 GB, free: 2.516 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002619/0.7724, allocations: 203.6 kB / 1.003 GB, free: 2.355 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008214/0.7732, allocations: 198.9 kB / 1.004 GB, free: 2.262 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009443/0.7741, allocations: 0.7342 MB / 1.004 GB, free: 1.738 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002801/0.7744, allocations: 0.7952 MB / 1.005 GB, free: 0.9883 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001862/0.7746, allocations: 58.91 kB / 1.005 GB, free: 0.9609 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.663e-05/0.7747, allocations: 28.81 kB / 1.005 GB, free: 0.9492 MB / 0.7481 GB Notification: Performance of SimCode: time 2.2e-07/0.7747, allocations: 2.719 kB / 1.005 GB, free: 0.9492 MB / 0.7481 GB Notification: Performance of Templates: time 0.009955/0.7846, allocations: 6.33 MB / 1.011 GB, free: 13.85 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)