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.0007444/0.0007444, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.004111/0.004111, allocations: 169.6 kB / 16.26 MB, free: 6.613 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.161/1.161, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.329/1.329, allocations: 252 MB / 0.5105 GB, free: 4.664 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.0004494/0.0004495, allocations: 12.52 kB / 0.6249 GB, free: 0.7461 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3659/0.3663, allocations: 106.3 MB / 0.7287 GB, free: 11.26 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.1335/0.4999, allocations: 158.1 MB / 0.8831 GB, free: 12.52 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.003489/0.5034, allocations: 2.927 MB / 0.886 GB, free: 9.586 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002245/0.5036, allocations: 15.88 kB / 0.886 GB, free: 9.57 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0004757/0.5041, allocations: 179.1 kB / 0.8862 GB, free: 9.395 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.001285/0.5054, allocations: 0.7314 MB / 0.8869 GB, free: 8.66 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005457/0.506, allocations: 317.4 kB / 0.8872 GB, free: 8.352 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.001095/0.5071, allocations: 1.29 MB / 0.8885 GB, free: 7.059 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002603/0.5073, allocations: 228.1 kB / 0.8887 GB, free: 6.836 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003643/0.5077, allocations: 294.7 kB / 0.889 GB, free: 6.547 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006342/0.5083, allocations: 289.9 kB / 0.8892 GB, free: 6.266 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 3.502e-05/0.5084, allocations: 12 kB / 0.8893 GB, free: 6.254 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008839/0.5093, allocations: 0.7441 MB / 0.89 GB, free: 5.508 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0001215/0.5094, allocations: 115.7 kB / 0.8901 GB, free: 5.395 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0001792/0.5096, allocations: 220.7 kB / 0.8903 GB, free: 5.172 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.000731/0.5103, allocations: 0.7866 MB / 0.8911 GB, free: 4.383 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.5103, allocations: 0 / 0.8911 GB, free: 4.383 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.523e-06/0.5104, allocations: 0 / 0.8911 GB, free: 4.383 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 5.61e-06/0.5104, allocations: 0 / 0.8911 GB, free: 4.383 MB / 0.7012 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.0008441/0.5112, allocations: 0.6466 MB / 0.8917 GB, free: 3.684 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.23e-05/0.5113, allocations: 12.03 kB / 0.8917 GB, free: 3.672 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008794/0.5121, allocations: 135.4 kB / 0.8918 GB, free: 3.539 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004446/0.5126, allocations: 402.3 kB / 0.8922 GB, free: 3.109 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.747e-05/0.5126, allocations: 28.5 kB / 0.8923 GB, free: 3.082 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.703e-05/0.5127, allocations: 27.98 kB / 0.8923 GB, free: 3.055 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004035/0.5131, allocations: 291.6 kB / 0.8926 GB, free: 2.758 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.5131, allocations: 0 / 0.8926 GB, free: 2.758 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.719e-05/0.5131, allocations: 8 kB / 0.8926 GB, free: 2.75 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.984e-05/0.5132, allocations: 16.55 kB / 0.8926 GB, free: 2.734 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002925/0.5135, allocations: 190.2 kB / 0.8928 GB, free: 2.551 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.00143/0.5149, allocations: 1.338 MB / 0.8941 GB, free: 1.07 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003677/0.5153, allocations: 198.9 kB / 0.8943 GB, free: 0.8672 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001131/0.5154, allocations: 84.83 kB / 0.8943 GB, free: 0.7812 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 1.059e-05/0.5154, allocations: 0 / 0.8943 GB, free: 0.7812 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.211e-05/0.5154, allocations: 38.5 kB / 0.8944 GB, free: 0.7344 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=19): time 1.032e-06/0.5154, allocations: 0 / 0.8944 GB, free: 0.7344 MB / 0.7012 GB Notification: Performance of matching and sorting (n=19): time 0.0007917/0.5162, allocations: 395.4 kB / 0.8948 GB, free: 328 kB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.23e-05/0.5163, allocations: 55.39 kB / 0.8948 GB, free: 260 kB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002929/0.5166, allocations: 304.6 kB / 0.8951 GB, free: 15.95 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.698e-05/0.5166, allocations: 33.7 kB / 0.8951 GB, free: 15.91 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001343/0.5168, allocations: 196.3 kB / 0.8953 GB, free: 15.71 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.913e-05/0.5168, allocations: 74.84 kB / 0.8954 GB, free: 15.64 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.827e-05/0.5169, allocations: 25.72 kB / 0.8954 GB, free: 15.61 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001424/0.517, allocations: 342.8 kB / 0.8957 GB, free: 15.27 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.843e-05/0.5171, allocations: 55.97 kB / 0.8958 GB, free: 15.21 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001408/0.5173, allocations: 118.8 kB / 0.8959 GB, free: 15.07 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002552/0.5175, allocations: 184.5 kB / 0.8961 GB, free: 14.87 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.5175, allocations: 4.031 kB / 0.8961 GB, free: 14.87 MB / 0.7169 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003367/0.5179, allocations: 253 kB / 0.8963 GB, free: 14.61 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.5179, allocations: 6.188 kB / 0.8963 GB, free: 14.61 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/0.5179, allocations: 8 kB / 0.8963 GB, free: 14.6 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.5179, allocations: 0 / 0.8963 GB, free: 14.6 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000179/0.5181, allocations: 43.92 kB / 0.8964 GB, free: 14.56 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.5181, allocations: 4 kB / 0.8964 GB, free: 14.55 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002984/0.5185, allocations: 31.95 kB / 0.8964 GB, free: 14.52 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.39e-05/0.5185, allocations: 8 kB / 0.8964 GB, free: 14.52 MB / 0.7169 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.0001455/0.5186, allocations: 162.6 kB / 0.8966 GB, free: 14.35 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.628e-05/0.5187, allocations: 35.56 kB / 0.8966 GB, free: 14.31 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.691e-05/0.5188, allocations: 39.08 kB / 0.8966 GB, free: 14.27 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.798e-06/0.5188, allocations: 4 kB / 0.8967 GB, free: 14.27 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/0.5188, allocations: 3.938 kB / 0.8967 GB, free: 14.26 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.5188, allocations: 4 kB / 0.8967 GB, free: 14.26 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004412/0.5192, allocations: 401.3 kB / 0.897 GB, free: 13.82 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.5193, allocations: 0 / 0.897 GB, free: 13.82 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001634/0.5194, allocations: 35.98 kB / 0.8971 GB, free: 13.78 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001913/0.5196, allocations: 40.83 kB / 0.8971 GB, free: 13.74 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.761e-05/0.5197, allocations: 15.92 kB / 0.8971 GB, free: 13.72 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001008/0.5207, allocations: 1.401 MB / 0.8985 GB, free: 12.19 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.5207, allocations: 0 / 0.8985 GB, free: 12.19 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005009/0.5212, allocations: 418.1 kB / 0.8989 GB, free: 11.77 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001186/0.5213, allocations: 128.7 kB / 0.899 GB, free: 11.62 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.465e-05/0.5214, allocations: 8 kB / 0.899 GB, free: 11.61 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002835/0.5216, allocations: 26.7 kB / 0.8991 GB, free: 11.59 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.006e-05/0.5217, allocations: 7.984 kB / 0.8991 GB, free: 11.58 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.586e-05/0.5217, allocations: 11.98 kB / 0.8991 GB, free: 11.57 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001891/0.5219, allocations: 223.1 kB / 0.8993 GB, free: 11.36 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5219, allocations: 0 / 0.8993 GB, free: 11.36 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003748/0.5223, allocations: 103.8 kB / 0.8994 GB, free: 11.25 MB / 0.7169 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.0001578/0.5224, allocations: 119.2 kB / 0.8995 GB, free: 11.13 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002498/0.5227, allocations: 159.8 kB / 0.8997 GB, free: 10.97 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.5227, allocations: 3.938 kB / 0.8997 GB, free: 10.97 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002566/0.523, allocations: 201.2 kB / 0.8998 GB, free: 10.76 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009192/0.5239, allocations: 185.3 kB / 0.9 GB, free: 10.58 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001045/0.525, allocations: 0.9313 MB / 0.9009 GB, free: 9.621 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002998/0.5253, allocations: 0.7959 MB / 0.9017 GB, free: 8.797 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0002389/0.5255, allocations: 62.92 kB / 0.9018 GB, free: 8.738 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.443e-05/0.5256, allocations: 27.44 kB / 0.9018 GB, free: 8.711 MB / 0.7169 GB Notification: Performance of SimCode: time 5.41e-07/0.5256, allocations: 0 / 0.9018 GB, free: 8.711 MB / 0.7169 GB Notification: Performance of Templates: time 0.009047/0.5346, allocations: 5.985 MB / 0.9076 GB, free: 2.844 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: