Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.Performance.Example3.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.Example3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.Performance.Example3") translateModel(Buildings.Fluid.Examples.Performance.Example3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.Performance.Example3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001368/0.001368, allocations: 105.4 kB / 15.7 MB, free: 24 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001205/0.001205, allocations: 188 kB / 16.64 MB, free: 6.594 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.363/1.363, allocations: 205.1 MB / 222.5 MB, free: 4.551 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.688/1.688, allocations: 292.3 MB / 0.549 GB, free: 12.77 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.001469/0.001469, allocations: 77.83 kB / 0.6723 GB, free: 25.93 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2373/0.2388, allocations: 114.5 MB / 0.7841 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example3): time 0.03184/0.2707, allocations: 32.86 MB / 0.8162 GB, free: 11.79 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01943/0.2902, allocations: 13.06 MB / 0.829 GB, free: 14.71 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002135/0.2923, allocations: 51.69 kB / 0.829 GB, free: 14.66 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002247/0.2946, allocations: 0.7224 MB / 0.8297 GB, free: 13.93 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.004657/0.2993, allocations: 1.559 MB / 0.8312 GB, free: 12.36 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.003851/0.3032, allocations: 1.408 MB / 0.8326 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.006161/0.3094, allocations: 4.853 MB / 0.8374 GB, free: 6.098 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002933/0.3123, allocations: 2.074 MB / 0.8394 GB, free: 3.992 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004149/0.3165, allocations: 1.891 MB / 0.8412 GB, free: 2.098 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001946/0.3184, allocations: 1.365 MB / 0.8426 GB, free: 0.7266 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0002213/0.3187, allocations: 140 kB / 0.8427 GB, free: 0.5898 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002444/0.3211, allocations: 1.166 MB / 0.8438 GB, free: 15.42 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0004507/0.3216, allocations: 462.3 kB / 0.8443 GB, free: 14.97 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001147/0.3227, allocations: 1.014 MB / 0.8453 GB, free: 13.95 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.003485/0.3262, allocations: 2.925 MB / 0.8481 GB, free: 11.02 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.3263, allocations: 0 / 0.8481 GB, free: 11.02 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.593e-06/0.3263, allocations: 0 / 0.8481 GB, free: 11.02 MB / 0.67 GB Notification: Performance of Transformations before backend: time 3.119e-05/0.3263, allocations: 0 / 0.8481 GB, free: 11.02 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 235 * Number of variables: 235 Notification: Performance of Generate backend data structure: time 0.003504/0.3298, allocations: 2.38 MB / 0.8504 GB, free: 8.566 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.726e-05/0.3299, allocations: 8.031 kB / 0.8504 GB, free: 8.559 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001094/0.331, allocations: 310.2 kB / 0.8507 GB, free: 8.254 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002707/0.3337, allocations: 1.664 MB / 0.8524 GB, free: 6.543 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.358e-05/0.3338, allocations: 81.94 kB / 0.8524 GB, free: 6.461 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001507/0.3339, allocations: 108 kB / 0.8525 GB, free: 6.355 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001986/0.3359, allocations: 1.287 MB / 0.8538 GB, free: 4.992 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.445e-05/0.336, allocations: 7.922 kB / 0.8538 GB, free: 4.984 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.716e-05/0.3361, allocations: 44 kB / 0.8539 GB, free: 4.941 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.102e-05/0.3361, allocations: 24 kB / 0.8539 GB, free: 4.918 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001748/0.3378, allocations: 0.9717 MB / 0.8548 GB, free: 3.945 MB / 0.67 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.006828/0.3447, allocations: 6.494 MB / 0.8612 GB, free: 13.04 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001168/0.3459, allocations: 0.5856 MB / 0.8617 GB, free: 12.44 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006432/0.3465, allocations: 394.8 kB / 0.8621 GB, free: 12.05 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002276/0.3488, allocations: 1.688 MB / 0.8638 GB, free: 10.23 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007076/0.3495, allocations: 359.7 kB / 0.8641 GB, free: 9.863 MB / 0.6856 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000306/0.3498, allocations: 79.39 kB / 0.8642 GB, free: 9.785 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=45): time 2.224e-06/0.3499, allocations: 0 / 0.8642 GB, free: 9.785 MB / 0.6856 GB Notification: Performance of matching and sorting (n=45): time 0.003213/0.3531, allocations: 1.312 MB / 0.8655 GB, free: 8.441 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.564e-05/0.3531, allocations: 67.33 kB / 0.8655 GB, free: 8.363 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002098/0.3552, allocations: 1.788 MB / 0.8673 GB, free: 6.531 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 6.219e-05/0.3553, allocations: 37.7 kB / 0.8673 GB, free: 6.488 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007497/0.3561, allocations: 0.8537 MB / 0.8681 GB, free: 5.625 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.00015/0.3562, allocations: 153.8 kB / 0.8683 GB, free: 5.473 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002643/0.3565, allocations: 190.4 kB / 0.8685 GB, free: 5.277 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001238/0.3566, allocations: 334 kB / 0.8688 GB, free: 4.945 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006215/0.3573, allocations: 328.5 kB / 0.8691 GB, free: 4.621 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008936/0.3582, allocations: 0.7401 MB / 0.8698 GB, free: 3.676 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001438/0.3596, allocations: 0.9876 MB / 0.8708 GB, free: 2.539 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.113e-06/0.3596, allocations: 8 kB / 0.8708 GB, free: 2.531 MB / 0.6856 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.00245/0.3621, allocations: 1.304 MB / 0.8721 GB, free: 1.207 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 4.729e-05/0.3621, allocations: 33.7 kB / 0.8721 GB, free: 1.168 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.568e-05/0.3622, allocations: 12 kB / 0.8721 GB, free: 1.156 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006581/0.3628, allocations: 185.1 kB / 0.8723 GB, free: 0.9727 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006051/0.3634, allocations: 167.7 kB / 0.8725 GB, free: 0.8086 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006583/0.3641, allocations: 0.7581 MB / 0.8732 GB, free: 28 kB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009539/0.3651, allocations: 64.53 kB / 0.8733 GB, free: 15.96 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.681e-05/0.3652, allocations: 43.98 kB / 0.8733 GB, free: 15.92 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001225/0.3664, allocations: 0.7132 MB / 0.874 GB, free: 15.2 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008275/0.3673, allocations: 0.705 MB / 0.8747 GB, free: 14.3 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001305/0.3686, allocations: 0.9288 MB / 0.8756 GB, free: 13.22 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.442e-06/0.3686, allocations: 4 kB / 0.8756 GB, free: 13.22 MB / 0.7012 GB Notification: Performance of matching and sorting (n=98) (initialization_lambda0): time 0.002129/0.3707, allocations: 1.257 MB / 0.8768 GB, free: 11.93 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 4.523e-05/0.3708, allocations: 41.64 kB / 0.8769 GB, free: 11.88 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.347e-05/0.3708, allocations: 12 kB / 0.8769 GB, free: 11.87 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002288/0.371, allocations: 125.2 kB / 0.877 GB, free: 11.74 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005603/0.3716, allocations: 167.7 kB / 0.8772 GB, free: 11.58 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002289/0.3739, allocations: 2.321 MB / 0.8794 GB, free: 9.117 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008726/0.3748, allocations: 52.58 kB / 0.8795 GB, free: 9.066 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.629e-05/0.3749, allocations: 48.05 kB / 0.8795 GB, free: 9.02 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 8 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,nRes.y,from_dp.y,mergeDp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (84): * Single equations (assignments): 81 * Array equations: 1 * Algorithm blocks: 1 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0002972/0.3752, allocations: 240 kB / 0.8797 GB, free: 8.777 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002256/0.3754, allocations: 173.8 kB / 0.8799 GB, free: 8.605 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002089/0.3775, allocations: 0.9937 MB / 0.8809 GB, free: 7.598 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.318e-05/0.3775, allocations: 7.984 kB / 0.8809 GB, free: 7.59 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.953e-06/0.3776, allocations: 4 kB / 0.8809 GB, free: 7.586 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001439/0.379, allocations: 0.9544 MB / 0.8818 GB, free: 6.562 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003441/0.3824, allocations: 2.093 MB / 0.8839 GB, free: 4.391 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.3825, allocations: 0 / 0.8839 GB, free: 4.391 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004206/0.3829, allocations: 87.94 kB / 0.884 GB, free: 4.305 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002899/0.3832, allocations: 120.9 kB / 0.8841 GB, free: 4.184 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.217e-05/0.3832, allocations: 15.98 kB / 0.8841 GB, free: 4.168 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005716/0.3838, allocations: 0.7357 MB / 0.8848 GB, free: 3.406 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.3838, allocations: 0 / 0.8848 GB, free: 3.406 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002222/0.3861, allocations: 1.36 MB / 0.8861 GB, free: 2.016 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004252/0.3865, allocations: 298.8 kB / 0.8864 GB, free: 1.703 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001629/0.3867, allocations: 12 kB / 0.8864 GB, free: 1.691 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000565/0.3872, allocations: 28.03 kB / 0.8865 GB, free: 1.664 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001144/0.3874, allocations: 48.31 kB / 0.8865 GB, free: 1.617 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.808e-05/0.3874, allocations: 27.97 kB / 0.8865 GB, free: 1.59 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.00162/0.3891, allocations: 1.231 MB / 0.8877 GB, free: 344 kB / 0.7012 GB Notification: Performance of sort global known variables: time 3.31e-07/0.3891, allocations: 0 / 0.8877 GB, free: 344 kB / 0.7012 GB Notification: Performance of remove unused functions: time 0.002074/0.3911, allocations: 0.7799 MB / 0.8885 GB, free: 15.55 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (pump.vol.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,12)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009598/0.3921, allocations: 388.9 kB / 0.8889 GB, free: 15.17 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.00265/0.3948, allocations: 1.461 MB / 0.8903 GB, free: 13.68 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.3948, allocations: 0 / 0.8903 GB, free: 13.68 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0006686/0.3955, allocations: 347.5 kB / 0.8906 GB, free: 13.34 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002878/0.3984, allocations: 0.7772 MB / 0.8914 GB, free: 12.58 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004348/0.4027, allocations: 2.862 MB / 0.8942 GB, free: 9.672 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001086/0.4038, allocations: 1.507 MB / 0.8956 GB, free: 8.137 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001333/0.4052, allocations: 450 kB / 0.8961 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002586/0.4054, allocations: 131.4 kB / 0.8962 GB, free: 7.562 MB / 0.7169 GB Notification: Performance of SimCode: time 5.41e-07/0.4054, allocations: 0 / 0.8962 GB, free: 7.562 MB / 0.7169 GB Notification: Performance of Templates: time 0.4191/0.8245, allocations: 31.55 MB / 0.927 GB, free: 121.7 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.Examples.Performance.Example3.makefile (rm -f Buildings_8_Buildings.Fluid.Examples.Performance.Example3.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.Performance.Example3.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.Performance.Example3.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.Performance.Example3.sim & ./Buildings_8_Buildings.Fluid.Examples.Performance.Example3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Examples.Performance.Example3.pipe 2>&1)