Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.Performance.Example1v1.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.Fluid.Examples.Performance.Example1v1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.Performance.Example1v1") translateModel(Buildings.Fluid.Examples.Performance.Example1v1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.Performance.Example1v1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001066/0.001066, allocations: 106.5 kB / 16.36 MB, free: 6.258 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.001002/0.001002, allocations: 189.7 kB / 17.3 MB, free: 5.848 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.233/1.233, allocations: 205.1 MB / 223.2 MB, free: 12.2 MB / 190.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.727/1.727, allocations: 292.3 MB / 0.5496 GB, free: 17.63 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.001346/0.001346, allocations: 67.91 kB / 0.6729 GB, free: 5.828 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2009/0.2022, allocations: 114.6 MB / 0.7848 GB, free: 3.152 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example1v1): time 0.4021/0.6044, allocations: 72.6 MB / 0.8557 GB, free: 0.582 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.03348/0.6379, allocations: 20.06 MB / 0.8753 GB, free: 2.664 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003984/0.6419, allocations: 96.56 kB / 0.8754 GB, free: 2.625 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.003056/0.645, allocations: 1.012 MB / 0.8764 GB, free: 2.031 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.006845/0.6519, allocations: 2.34 MB / 0.8786 GB, free: 396 kB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.005519/0.6574, allocations: 2.079 MB / 0.8807 GB, free: 14.86 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.01048/0.6679, allocations: 7.998 MB / 0.8885 GB, free: 10.26 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007975/0.6759, allocations: 6.119 MB / 0.8945 GB, free: 6.324 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00755/0.6835, allocations: 3.268 MB / 0.8976 GB, free: 4.484 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004975/0.6885, allocations: 2.486 MB / 0.9001 GB, free: 3 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0006229/0.6891, allocations: 253.8 kB / 0.9003 GB, free: 3 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004119/0.6933, allocations: 1.378 MB / 0.9017 GB, free: 2.395 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0008757/0.6942, allocations: 0.7491 MB / 0.9024 GB, free: 1.812 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.002676/0.6968, allocations: 1.768 MB / 0.9041 GB, free: 100 kB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.005696/0.7025, allocations: 4.731 MB / 0.9087 GB, free: 11.35 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.7026, allocations: 3.984 kB / 0.9087 GB, free: 11.35 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.623e-06/0.7026, allocations: 4 kB / 0.9087 GB, free: 11.34 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 6.386e-05/0.7026, allocations: 0 / 0.9087 GB, free: 11.34 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: 398 * Number of variables: 398 Notification: Performance of Generate backend data structure: time 0.006663/0.7093, allocations: 3.933 MB / 0.9126 GB, free: 7.332 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.7094, allocations: 8.031 kB / 0.9126 GB, free: 7.324 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002183/0.7116, allocations: 0.5392 MB / 0.9131 GB, free: 6.781 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004801/0.7164, allocations: 2.736 MB / 0.9158 GB, free: 3.98 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001096/0.7165, allocations: 143.1 kB / 0.9159 GB, free: 3.84 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002636/0.7168, allocations: 183.9 kB / 0.9161 GB, free: 3.66 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003631/0.7204, allocations: 2.33 MB / 0.9184 GB, free: 1.176 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.481e-05/0.7205, allocations: 3.938 kB / 0.9184 GB, free: 1.172 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001658/0.7206, allocations: 68 kB / 0.9185 GB, free: 1.105 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.064e-05/0.7207, allocations: 40 kB / 0.9185 GB, free: 1.066 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003425/0.7241, allocations: 1.865 MB / 0.9203 GB, free: 15.19 MB / 0.7169 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.01264/0.7367, allocations: 11.08 MB / 0.9311 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002684/0.7395, allocations: 1.338 MB / 0.9324 GB, free: 2.281 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001566/0.741, allocations: 1.005 MB / 0.9334 GB, free: 1.277 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005724/0.7468, allocations: 3.635 MB / 0.937 GB, free: 13.37 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001461/0.7482, allocations: 0.7663 MB / 0.9377 GB, free: 12.59 MB / 0.7325 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001066/0.7493, allocations: 230.9 kB / 0.9379 GB, free: 12.36 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=95): time 3.236e-06/0.7493, allocations: 3.938 kB / 0.9379 GB, free: 12.36 MB / 0.7325 GB Notification: Performance of matching and sorting (n=95): time 0.01217/0.7615, allocations: 4.161 MB / 0.942 GB, free: 8.191 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.092e-05/0.7616, allocations: 60.41 kB / 0.9421 GB, free: 8.121 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003696/0.7653, allocations: 2.867 MB / 0.9449 GB, free: 5.254 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001582/0.7655, allocations: 57.7 kB / 0.9449 GB, free: 5.191 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001199/0.7667, allocations: 1.414 MB / 0.9463 GB, free: 3.762 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.000306/0.767, allocations: 339.1 kB / 0.9466 GB, free: 3.426 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004938/0.7675, allocations: 351.6 kB / 0.947 GB, free: 3.07 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001073/0.7676, allocations: 309.1 kB / 0.9472 GB, free: 2.766 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00134/0.7689, allocations: 0.6859 MB / 0.9479 GB, free: 2.078 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001891/0.7708, allocations: 1.429 MB / 0.9493 GB, free: 308 kB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003048/0.7739, allocations: 1.915 MB / 0.9512 GB, free: 14.17 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.697e-06/0.7739, allocations: 4 kB / 0.9512 GB, free: 14.17 MB / 0.7481 GB Notification: Performance of matching and sorting (n=183) (initialization): time 0.006127/0.7801, allocations: 2.838 MB / 0.954 GB, free: 11.34 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 5.403e-05/0.7801, allocations: 37.7 kB / 0.954 GB, free: 11.29 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.283e-05/0.7802, allocations: 18.75 kB / 0.954 GB, free: 11.28 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002466/0.7826, allocations: 0.6974 MB / 0.9547 GB, free: 10.58 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00121/0.7839, allocations: 301.2 kB / 0.955 GB, free: 10.29 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001891/0.7858, allocations: 1.905 MB / 0.9568 GB, free: 8.328 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001902/0.7877, allocations: 105 kB / 0.9569 GB, free: 8.223 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001718/0.7879, allocations: 83.95 kB / 0.957 GB, free: 8.141 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002284/0.7902, allocations: 1.273 MB / 0.9583 GB, free: 6.863 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001691/0.7919, allocations: 1.392 MB / 0.9596 GB, free: 5.117 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002651/0.7945, allocations: 1.82 MB / 0.9614 GB, free: 3.078 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.474e-06/0.7945, allocations: 4 kB / 0.9614 GB, free: 3.074 MB / 0.7481 GB Notification: Performance of matching and sorting (n=183) (initialization_lambda0): time 0.004966/0.7995, allocations: 2.685 MB / 0.964 GB, free: 356 kB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 5.039e-05/0.7996, allocations: 41.64 kB / 0.9641 GB, free: 308 kB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.03e-05/0.7996, allocations: 19.98 kB / 0.9641 GB, free: 288 kB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009507/0.8006, allocations: 473.5 kB / 0.9645 GB, free: 15.81 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001126/0.8017, allocations: 289.1 kB / 0.9648 GB, free: 15.53 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007054/0.8088, allocations: 6.319 MB / 0.971 GB, free: 8.926 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002059/0.8108, allocations: 117.5 kB / 0.9711 GB, free: 8.812 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001558/0.811, allocations: 83.89 kB / 0.9712 GB, free: 8.73 MB / 0.7637 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 66 * Number of states: 0 () * Number of discrete variables: 8 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,from_dp.y,nRes.y,allowFlowReversal.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (135): * Single equations (assignments): 131 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,40), (2,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0004536/0.8115, allocations: 276.5 kB / 0.9714 GB, free: 8.457 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000488/0.812, allocations: 300.2 kB / 0.9717 GB, free: 8.16 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004729/0.8167, allocations: 2.426 MB / 0.9741 GB, free: 5.73 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00349/0.8202, allocations: 2.052 MB / 0.9761 GB, free: 3.613 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.734e-06/0.8202, allocations: 4 kB / 0.9761 GB, free: 3.609 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001138/0.8214, allocations: 485 kB / 0.9766 GB, free: 3.113 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003201/0.8217, allocations: 23.94 kB / 0.9766 GB, free: 3.09 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001051/0.8228, allocations: 75.78 kB / 0.9767 GB, free: 3.016 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002344/0.823, allocations: 116.8 kB / 0.9768 GB, free: 2.902 MB / 0.7637 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004488/0.8275, allocations: 2.036 MB / 0.9788 GB, free: 0.8516 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004405/0.8319, allocations: 2.567 MB / 0.9813 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00122/0.8332, allocations: 0.6873 MB / 0.9819 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.002761/0.8359, allocations: 1.951 MB / 0.9838 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of Backend: time 2.61e-07/0.8359, allocations: 3.938 kB / 0.9838 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.006731/0.8427, allocations: 3.095 MB / 0.9869 GB, free: 8.496 MB / 0.7794 GB Notification: Performance of SimCode: time 0.01056/0.8532, allocations: 6.698 MB / 0.9934 GB, free: 1.781 MB / 0.7794 GB Notification: Performance of Templates: time 0.09305/0.9463, allocations: 58.2 MB / 1.05 GB, free: 8.312 MB / 0.8419 GB make -j1 -f Buildings_8_Buildings.Fluid.Examples.Performance.Example1v1.makefile (rm -f Buildings_8_Buildings.Fluid.Examples.Performance.Example1v1.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.Performance.Example1v1.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.Performance.Example1v1.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.Performance.Example1v1.sim & ./Buildings_8_Buildings.Fluid.Examples.Performance.Example1v1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Examples.Performance.Example1v1.pipe 2>&1)