Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_Buildings.Examples.Tutorial.SpaceCooling.System1") translateModel(Buildings.Examples.Tutorial.SpaceCooling.System1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001149/0.001149, allocations: 84.38 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.001262/0.001262, 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.602/1.602, allocations: 205.4 MB / 222.1 MB, free: 5.637 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.856/1.856, allocations: 292.7 MB / 0.5499 GB, free: 14.56 MB / 462.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.0005672/0.0005672, allocations: 13.47 kB / 0.6737 GB, free: 26.27 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2112/0.2117, allocations: 116.3 MB / 0.7873 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.5739/0.7857, allocations: 147.5 MB / 0.9313 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.004001/0.7897, allocations: 2.699 MB / 0.9339 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005545/0.7903, allocations: 10.72 kB / 0.9339 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0006354/0.791, allocations: 146.2 kB / 0.9341 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.00192/0.7929, allocations: 0.5642 MB / 0.9346 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008/0.7937, allocations: 227.6 kB / 0.9348 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001321/0.795, allocations: 1.039 MB / 0.9358 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003345/0.7954, allocations: 185.7 kB / 0.936 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005101/0.7959, allocations: 284.8 kB / 0.9363 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004233/0.7963, allocations: 269 kB / 0.9365 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.322e-05/0.7964, allocations: 14.66 kB / 0.9366 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009252/0.7973, allocations: 318.2 kB / 0.9369 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001395/0.7975, allocations: 101.3 kB / 0.937 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.456e-05/0.7976, allocations: 103.5 kB / 0.9371 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0005337/0.7981, allocations: 0.4954 MB / 0.9375 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.384e-06/0.7981, allocations: 1.469 kB / 0.9375 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.894e-06/0.7981, allocations: 4 kB / 0.9375 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.837e-06/0.7982, allocations: 0 / 0.9375 GB, free: 5.543 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.001345/0.7995, allocations: 0.6445 MB / 0.9382 GB, free: 21.05 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.849e-05/0.7996, allocations: 10 kB / 0.9382 GB, free: 21.05 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009898/0.8005, allocations: 137.2 kB / 0.9383 GB, free: 21.03 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000534/0.8011, allocations: 383.2 kB / 0.9387 GB, free: 20.8 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.916e-05/0.8011, allocations: 24.45 kB / 0.9387 GB, free: 20.8 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.641e-05/0.8012, allocations: 26.16 kB / 0.9387 GB, free: 20.8 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004129/0.8016, allocations: 272.6 kB / 0.939 GB, free: 20.74 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.513e-05/0.8016, allocations: 5.234 kB / 0.939 GB, free: 20.74 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.627e-05/0.8017, allocations: 10.8 kB / 0.939 GB, free: 20.74 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.101e-05/0.8017, allocations: 13.67 kB / 0.939 GB, free: 20.74 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003501/0.802, allocations: 193.5 kB / 0.9392 GB, free: 20.73 MB / 0.7325 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.001718/0.8038, allocations: 1.317 MB / 0.9405 GB, free: 19.89 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003832/0.8042, allocations: 195.5 kB / 0.9407 GB, free: 19.86 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001411/0.8043, allocations: 90.69 kB / 0.9408 GB, free: 19.85 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.619e-05/0.8043, allocations: 1.844 kB / 0.9408 GB, free: 19.85 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.308e-05/0.8044, allocations: 39.48 kB / 0.9408 GB, free: 19.81 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=19): time 1.423e-06/0.8044, allocations: 0 / 0.9408 GB, free: 19.81 MB / 0.7325 GB Notification: Performance of matching and sorting (n=19): time 0.0009463/0.8053, allocations: 404.2 kB / 0.9412 GB, free: 19.66 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.059e-05/0.8054, allocations: 53.09 kB / 0.9412 GB, free: 19.59 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003343/0.8057, allocations: 296.5 kB / 0.9415 GB, free: 19.48 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.676e-05/0.8058, allocations: 30.45 kB / 0.9415 GB, free: 19.45 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001212/0.8059, allocations: 187 kB / 0.9417 GB, free: 19.34 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.636e-05/0.806, allocations: 76.8 kB / 0.9418 GB, free: 19.29 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.041e-05/0.806, allocations: 5.281 kB / 0.9418 GB, free: 19.29 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000163/0.8061, allocations: 342.2 kB / 0.9421 GB, free: 18.97 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001029/0.8063, allocations: 62.27 kB / 0.9422 GB, free: 18.97 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001322/0.8064, allocations: 122.5 kB / 0.9423 GB, free: 18.91 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001262/0.8065, allocations: 81.41 kB / 0.9424 GB, free: 18.91 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.8065, allocations: 1.188 kB / 0.9424 GB, free: 18.91 MB / 0.7325 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003731/0.8069, allocations: 247.5 kB / 0.9426 GB, free: 18.86 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/0.8069, allocations: 10.44 kB / 0.9426 GB, free: 18.85 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.807, allocations: 4.234 kB / 0.9426 GB, free: 18.85 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.807, allocations: 3.062 kB / 0.9426 GB, free: 18.85 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001923/0.8072, allocations: 46.08 kB / 0.9427 GB, free: 18.85 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.214e-06/0.8072, allocations: 1.469 kB / 0.9427 GB, free: 18.85 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002778/0.8075, allocations: 27.19 kB / 0.9427 GB, free: 18.84 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.696e-05/0.8075, allocations: 9.156 kB / 0.9427 GB, free: 18.84 MB / 0.7325 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.0001552/0.8077, allocations: 159.1 kB / 0.9429 GB, free: 18.72 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.354e-05/0.8077, allocations: 31.53 kB / 0.9429 GB, free: 18.71 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.46e-05/0.8078, allocations: 41.33 kB / 0.9429 GB, free: 18.7 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.8078, allocations: 0.9375 kB / 0.9429 GB, free: 18.7 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/0.8078, allocations: 4.484 kB / 0.9429 GB, free: 18.7 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.8078, allocations: 0 / 0.9429 GB, free: 18.7 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004666/0.8083, allocations: 411.1 kB / 0.9433 GB, free: 18.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.8083, allocations: 0 / 0.9433 GB, free: 18.5 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001811/0.8085, allocations: 36.03 kB / 0.9434 GB, free: 18.5 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002196/0.8087, allocations: 38.27 kB / 0.9434 GB, free: 18.49 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.784e-05/0.8088, allocations: 9.406 kB / 0.9434 GB, free: 18.48 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001091/0.8099, allocations: 1.405 MB / 0.9448 GB, free: 17.23 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.684e-06/0.8099, allocations: 1.156 kB / 0.9448 GB, free: 17.23 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005743/0.8105, allocations: 418.8 kB / 0.9452 GB, free: 17.07 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000138/0.8106, allocations: 132.6 kB / 0.9453 GB, free: 16.95 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.977e-05/0.8107, allocations: 5.078 kB / 0.9453 GB, free: 16.95 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002535/0.8109, allocations: 9.219 kB / 0.9453 GB, free: 16.95 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.024e-05/0.811, allocations: 24.06 kB / 0.9454 GB, free: 16.95 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.743e-05/0.811, allocations: 6.047 kB / 0.9454 GB, free: 16.95 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.000248/0.8112, allocations: 212.4 kB / 0.9456 GB, free: 16.87 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8113, allocations: 0 / 0.9456 GB, free: 16.87 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005138/0.8118, allocations: 105.6 kB / 0.9457 GB, free: 16.86 MB / 0.7325 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.0002149/0.812, allocations: 118.3 kB / 0.9458 GB, free: 16.77 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003786/0.8124, allocations: 158 kB / 0.9459 GB, free: 16.77 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.958e-06/0.8124, allocations: 0.6562 kB / 0.9459 GB, free: 16.77 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000377/0.8128, allocations: 205.8 kB / 0.9461 GB, free: 16.65 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001023/0.8138, allocations: 187.5 kB / 0.9463 GB, free: 16.64 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001268/0.8151, allocations: 0.9424 MB / 0.9472 GB, free: 16.09 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003726/0.8155, allocations: 0.7978 MB / 0.948 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002849/0.8158, allocations: 61.58 kB / 0.9481 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.613e-05/0.8159, allocations: 26.12 kB / 0.9481 GB, free: 15.37 MB / 0.7325 GB Notification: Performance of SimCode: time 2.8e-07/0.8159, allocations: 0 / 0.9481 GB, free: 15.37 MB / 0.7325 GB Notification: Performance of Templates: time 0.01093/0.8268, allocations: 5.66 MB / 0.9536 GB, free: 15.01 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Examples.Tutorial.SpaceCooling.System1.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; mkfifo Buildings_8_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; head -c 1048576 < Buildings_8_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe >> ../files/Buildings_8_Buildings.Examples.Tutorial.SpaceCooling.System1.sim & ./Buildings_8_Buildings.Examples.Tutorial.SpaceCooling.System1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe 2>&1) Environment - environmentSimulation: