Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.Performance.Example2.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.Example2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.Performance.Example2") translateModel(Buildings.Fluid.Examples.Performance.Example2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.Performance.Example2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001627/0.001627, allocations: 108 kB / 15.61 MB, free: 152 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.002106/0.002106, allocations: 192.8 kB / 16.53 MB, free: 6.664 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.455/1.455, allocations: 205.1 MB / 222.4 MB, free: 4.613 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.649/1.649, allocations: 292.3 MB / 0.5489 GB, free: 12.8 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.001479/0.001479, allocations: 75.97 kB / 0.6715 GB, free: 26.28 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.234/0.2355, allocations: 114.5 MB / 0.7833 GB, free: 13.5 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example2): time 0.02821/0.2637, allocations: 29.74 MB / 0.8124 GB, free: 15.64 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.0178/0.2815, allocations: 12.5 MB / 0.8246 GB, free: 3.117 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001535/0.2831, allocations: 43.75 kB / 0.8246 GB, free: 3.074 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001873/0.285, allocations: 0.6836 MB / 0.8253 GB, free: 2.387 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.003377/0.2884, allocations: 1.453 MB / 0.8267 GB, free: 0.9297 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003093/0.2915, allocations: 1.365 MB / 0.8281 GB, free: 15.57 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.003931/0.2955, allocations: 3.796 MB / 0.8318 GB, free: 11.76 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001672/0.2972, allocations: 1.365 MB / 0.8331 GB, free: 10.36 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002655/0.2998, allocations: 1.473 MB / 0.8345 GB, free: 8.891 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001253/0.3011, allocations: 1.038 MB / 0.8355 GB, free: 7.848 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001891/0.3013, allocations: 120 kB / 0.8357 GB, free: 7.73 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002143/0.3034, allocations: 1.123 MB / 0.8368 GB, free: 6.605 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0003605/0.3038, allocations: 394.6 kB / 0.8371 GB, free: 6.219 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0007856/0.3046, allocations: 0.7852 MB / 0.8379 GB, free: 5.43 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.002787/0.3074, allocations: 2.407 MB / 0.8403 GB, free: 3.016 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.3074, allocations: 0 / 0.8403 GB, free: 3.016 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.513e-06/0.3074, allocations: 0 / 0.8403 GB, free: 3.016 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.679e-05/0.3075, allocations: 4 kB / 0.8403 GB, free: 3.012 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.002799/0.3103, allocations: 1.934 MB / 0.8421 GB, free: 1.02 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.39e-05/0.3103, allocations: 12.03 kB / 0.8422 GB, free: 1.008 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001035/0.3113, allocations: 250.8 kB / 0.8424 GB, free: 0.7617 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002033/0.3134, allocations: 1.277 MB / 0.8436 GB, free: 15.43 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.431e-05/0.3135, allocations: 70 kB / 0.8437 GB, free: 15.36 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001245/0.3136, allocations: 84 kB / 0.8438 GB, free: 15.28 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001566/0.3152, allocations: 0.981 MB / 0.8447 GB, free: 14.24 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.211e-05/0.3152, allocations: 3.938 kB / 0.8447 GB, free: 14.23 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.586e-05/0.3153, allocations: 32 kB / 0.8448 GB, free: 14.2 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.713e-05/0.3153, allocations: 20 kB / 0.8448 GB, free: 14.18 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001393/0.3167, allocations: 0.7025 MB / 0.8455 GB, free: 13.48 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.004974/0.3217, allocations: 4.859 MB / 0.8502 GB, free: 8.312 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00116/0.3229, allocations: 0.5621 MB / 0.8508 GB, free: 7.742 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006086/0.3235, allocations: 320.5 kB / 0.8511 GB, free: 7.43 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001976/0.3255, allocations: 1.584 MB / 0.8526 GB, free: 5.695 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006649/0.3262, allocations: 335 kB / 0.853 GB, free: 5.355 MB / 0.67 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002182/0.3264, allocations: 43.53 kB / 0.853 GB, free: 5.312 MB / 0.67 GB Notification: Performance of pre-optimization done (n=43): time 2.424e-06/0.3264, allocations: 0 / 0.853 GB, free: 5.312 MB / 0.67 GB Notification: Performance of matching and sorting (n=43): time 0.00296/0.3294, allocations: 1.161 MB / 0.8541 GB, free: 4.121 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.112e-05/0.3294, allocations: 63.39 kB / 0.8542 GB, free: 4.047 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001443/0.3309, allocations: 1.27 MB / 0.8554 GB, free: 2.762 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 5.756e-05/0.3309, allocations: 45.7 kB / 0.8555 GB, free: 2.711 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005432/0.3315, allocations: 0.6372 MB / 0.8561 GB, free: 2.066 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001309/0.3316, allocations: 153.8 kB / 0.8562 GB, free: 1.914 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002176/0.3318, allocations: 162.1 kB / 0.8564 GB, free: 1.746 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001375/0.332, allocations: 333.9 kB / 0.8567 GB, free: 1.414 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005684/0.3326, allocations: 275.6 kB / 0.857 GB, free: 1.145 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007909/0.3334, allocations: 0.5865 MB / 0.8575 GB, free: 416 kB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001285/0.3347, allocations: 0.8175 MB / 0.8583 GB, free: 15.48 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.3347, allocations: 0 / 0.8583 GB, free: 15.48 MB / 0.6856 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.002175/0.3369, allocations: 1.094 MB / 0.8594 GB, free: 14.36 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 6.251e-05/0.3369, allocations: 37.7 kB / 0.8595 GB, free: 14.32 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.536e-05/0.337, allocations: 4 kB / 0.8595 GB, free: 14.32 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006664/0.3376, allocations: 197 kB / 0.8596 GB, free: 14.12 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005431/0.3382, allocations: 143.7 kB / 0.8598 GB, free: 13.98 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007086/0.3389, allocations: 0.7669 MB / 0.8605 GB, free: 13.19 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000708/0.3396, allocations: 40.61 kB / 0.8606 GB, free: 13.15 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.057e-05/0.3397, allocations: 47.92 kB / 0.8606 GB, free: 13.1 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009199/0.3406, allocations: 0.5561 MB / 0.8612 GB, free: 12.54 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006462/0.3413, allocations: 0.5475 MB / 0.8617 GB, free: 11.84 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001054/0.3424, allocations: 0.7433 MB / 0.8624 GB, free: 10.99 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.397e-06/0.3424, allocations: 0 / 0.8624 GB, free: 10.99 MB / 0.6856 GB Notification: Performance of matching and sorting (n=84) (initialization_lambda0): time 0.001858/0.3442, allocations: 1.057 MB / 0.8635 GB, free: 9.898 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 3.663e-05/0.3443, allocations: 37.69 kB / 0.8635 GB, free: 9.855 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.846e-06/0.3443, allocations: 8 kB / 0.8635 GB, free: 9.848 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002118/0.3445, allocations: 117.2 kB / 0.8636 GB, free: 9.73 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004631/0.345, allocations: 131.8 kB / 0.8637 GB, free: 9.602 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002069/0.3471, allocations: 2.35 MB / 0.866 GB, free: 7.102 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006497/0.3477, allocations: 40.64 kB / 0.8661 GB, free: 7.062 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.64e-05/0.3478, allocations: 35.98 kB / 0.8661 GB, free: 7.027 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 7 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,nRes.y,from_dp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 68 * 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 {(5,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0002539/0.3481, allocations: 230.8 kB / 0.8663 GB, free: 6.797 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001707/0.3482, allocations: 130.4 kB / 0.8664 GB, free: 6.668 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001832/0.3501, allocations: 0.8842 MB / 0.8673 GB, free: 5.773 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.157e-06/0.3501, allocations: 4 kB / 0.8673 GB, free: 5.77 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.3501, allocations: 3.938 kB / 0.8673 GB, free: 5.766 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001316/0.3514, allocations: 0.8725 MB / 0.8682 GB, free: 4.82 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002692/0.3541, allocations: 1.802 MB / 0.8699 GB, free: 2.945 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.3541, allocations: 0 / 0.8699 GB, free: 2.945 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003882/0.3545, allocations: 75.88 kB / 0.87 GB, free: 2.871 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002681/0.3548, allocations: 124.7 kB / 0.8701 GB, free: 2.746 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.498e-05/0.3549, allocations: 15.98 kB / 0.8701 GB, free: 2.73 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005553/0.3554, allocations: 0.7513 MB / 0.8709 GB, free: 1.953 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.3554, allocations: 0 / 0.8709 GB, free: 1.953 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002045/0.3575, allocations: 1.17 MB / 0.872 GB, free: 0.7539 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003545/0.3579, allocations: 259.4 kB / 0.8723 GB, free: 492 kB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001356/0.358, allocations: 8 kB / 0.8723 GB, free: 484 kB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005125/0.3585, allocations: 31.91 kB / 0.8723 GB, free: 452 kB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.758e-05/0.3586, allocations: 36.39 kB / 0.8723 GB, free: 416 kB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.643e-05/0.3587, allocations: 19.98 kB / 0.8723 GB, free: 396 kB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001053/0.3597, allocations: 0.8971 MB / 0.8732 GB, free: 15.49 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3597, allocations: 0 / 0.8732 GB, free: 15.49 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001653/0.3614, allocations: 0.6433 MB / 0.8739 GB, free: 14.84 MB / 0.7012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (pump_dp.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 (38): * Single equations (assignments): 32 * 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 {(5,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000754/0.3622, allocations: 383.2 kB / 0.8742 GB, free: 14.47 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.002678/0.3648, allocations: 1.37 MB / 0.8756 GB, free: 13.06 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.3649, allocations: 4 kB / 0.8756 GB, free: 13.06 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.00072/0.3656, allocations: 335.3 kB / 0.8759 GB, free: 12.73 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002346/0.368, allocations: 0.5912 MB / 0.8765 GB, free: 12.15 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003225/0.3712, allocations: 2.244 MB / 0.8786 GB, free: 9.875 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007516/0.372, allocations: 1.267 MB / 0.8799 GB, free: 8.578 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001082/0.373, allocations: 314.5 kB / 0.8802 GB, free: 8.266 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002032/0.3733, allocations: 103.4 kB / 0.8803 GB, free: 8.164 MB / 0.7012 GB Notification: Performance of SimCode: time 5.41e-07/0.3733, allocations: 0 / 0.8803 GB, free: 8.164 MB / 0.7012 GB Notification: Performance of Templates: time 0.04214/0.4154, allocations: 25.65 MB / 0.9053 GB, free: 14.85 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.Examples.Performance.Example2.makefile (rm -f Buildings_8_Buildings.Fluid.Examples.Performance.Example2.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.Performance.Example2.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.Performance.Example2.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.Performance.Example2.sim & ./Buildings_8_Buildings.Fluid.Examples.Performance.Example2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Examples.Performance.Example2.pipe 2>&1)