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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) 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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.671/1.671, allocations: 292.3 MB / 308.1 MB, free: 4.273 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001425/0.001425, allocations: 180.5 kB / 376.9 MB, free: 1.816 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.412/1.412, allocations: 205.1 MB / 0.6354 GB, free: 9.809 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001073/0.001073, allocations: 98.42 kB / 0.748 GB, free: 61.17 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001063/0.001063, allocations: 59.92 kB / 0.8704 GB, free: 13.12 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.232/0.2331, allocations: 114.5 MB / 0.9822 GB, free: 10.42 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example1v1): time 0.5187/0.7519, allocations: 72.13 MB / 1.053 GB, free: 61.09 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.02916/0.7811, allocations: 20.57 MB / 1.073 GB, free: 51.14 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004887/0.786, allocations: 89.88 kB / 1.073 GB, free: 51.1 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.003244/0.7893, allocations: 0.8663 MB / 1.074 GB, free: 50.63 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.006829/0.7961, allocations: 2.171 MB / 1.076 GB, free: 49.39 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.005432/0.8016, allocations: 1.852 MB / 1.078 GB, free: 48.37 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.01032/0.8119, allocations: 10.62 MB / 1.088 GB, free: 44.45 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007453/0.8194, allocations: 5.633 MB / 1.093 GB, free: 42.11 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00676/0.8262, allocations: 2.889 MB / 1.096 GB, free: 40.89 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005056/0.8313, allocations: 2.505 MB / 1.099 GB, free: 39.81 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.001182/0.8325, allocations: 160.2 kB / 1.099 GB, free: 39.81 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005089/0.8376, allocations: 1.261 MB / 1.1 GB, free: 39.46 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.001603/0.8392, allocations: 0.6572 MB / 1.101 GB, free: 39.11 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.004362/0.8436, allocations: 1.647 MB / 1.102 GB, free: 38.16 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.00839/0.852, allocations: 4.578 MB / 1.107 GB, free: 36.44 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 7.163e-06/0.8521, allocations: 0 / 1.107 GB, free: 36.44 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.333e-06/0.8521, allocations: 0 / 1.107 GB, free: 36.44 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0001426/0.8522, allocations: 0 / 1.107 GB, free: 36.44 MB / 0.7448 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.007607/0.8598, allocations: 3.947 MB / 1.111 GB, free: 34.07 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.943e-05/0.8599, allocations: 9.594 kB / 1.111 GB, free: 34.07 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00218/0.8621, allocations: 0.5389 MB / 1.111 GB, free: 33.88 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005157/0.8673, allocations: 2.637 MB / 1.114 GB, free: 32.56 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001058/0.8674, allocations: 143.5 kB / 1.114 GB, free: 32.5 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002603/0.8677, allocations: 188.2 kB / 1.114 GB, free: 32.44 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003463/0.8711, allocations: 2.308 MB / 1.116 GB, free: 31.35 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.443e-05/0.8712, allocations: 6.938 kB / 1.116 GB, free: 31.35 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000148/0.8713, allocations: 67.06 kB / 1.116 GB, free: 31.3 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.033e-05/0.8714, allocations: 41.73 kB / 1.116 GB, free: 31.3 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003117/0.8745, allocations: 1.882 MB / 1.118 GB, free: 30.62 MB / 0.7448 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.01366/0.8882, allocations: 11.2 MB / 1.129 GB, free: 22.53 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002618/0.8908, allocations: 1.347 MB / 1.131 GB, free: 22.04 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001477/0.8923, allocations: 0.9969 MB / 1.132 GB, free: 21.67 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0067/0.899, allocations: 3.65 MB / 1.135 GB, free: 19.16 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001465/0.9005, allocations: 0.7748 MB / 1.136 GB, free: 18.89 MB / 0.7448 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001918/0.9025, allocations: 285.5 kB / 1.136 GB, free: 18.79 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=96): time 7.645e-06/0.9025, allocations: 0 / 1.136 GB, free: 18.79 MB / 0.7448 GB Notification: Performance of matching and sorting (n=96): time 0.01187/0.9144, allocations: 4.127 MB / 1.14 GB, free: 17.54 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.048e-05/0.9145, allocations: 62 kB / 1.14 GB, free: 17.47 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004916/0.9194, allocations: 2.844 MB / 1.143 GB, free: 16.52 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0002619/0.9197, allocations: 54.36 kB / 1.143 GB, free: 16.47 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.001247/0.9209, allocations: 1.422 MB / 1.144 GB, free: 15.36 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003754/0.9213, allocations: 343 kB / 1.145 GB, free: 15.09 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006309/0.922, allocations: 329.4 kB / 1.145 GB, free: 14.95 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 4.416e-05/0.922, allocations: 312.3 kB / 1.145 GB, free: 14.64 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001247/0.9233, allocations: 0.6668 MB / 1.146 GB, free: 14.41 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001663/0.925, allocations: 1.41 MB / 1.147 GB, free: 13.21 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002837/0.9278, allocations: 1.858 MB / 1.149 GB, free: 12.05 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.416e-05/0.9278, allocations: 4.094 kB / 1.149 GB, free: 12.05 MB / 0.7448 GB Notification: Performance of matching and sorting (n=181) (initialization): time 0.006266/0.9341, allocations: 2.793 MB / 1.152 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 8.313e-05/0.9342, allocations: 36.77 kB / 1.152 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.608e-05/0.9343, allocations: 18.09 kB / 1.152 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002534/0.9368, allocations: 0.6962 MB / 1.153 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001237/0.9381, allocations: 290.2 kB / 1.153 GB, free: 10.74 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001844/0.9399, allocations: 1.892 MB / 1.155 GB, free: 9.422 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002479/0.9424, allocations: 176.9 kB / 1.155 GB, free: 9.371 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002127/0.9426, allocations: 76.14 kB / 1.155 GB, free: 9.359 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00256/0.9452, allocations: 1.261 MB / 1.156 GB, free: 8.875 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001699/0.9469, allocations: 1.357 MB / 1.158 GB, free: 7.695 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002784/0.9497, allocations: 1.77 MB / 1.159 GB, free: 6.543 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.111e-05/0.9497, allocations: 3.969 kB / 1.159 GB, free: 6.543 MB / 0.7448 GB Notification: Performance of matching and sorting (n=181) (initialization_lambda0): time 0.005284/0.955, allocations: 2.635 MB / 1.162 GB, free: 5.414 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 4.158e-05/0.9551, allocations: 42.67 kB / 1.162 GB, free: 5.379 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.744e-05/0.9551, allocations: 15.12 kB / 1.162 GB, free: 5.379 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009873/0.9561, allocations: 480.4 kB / 1.162 GB, free: 5.27 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001096/0.9572, allocations: 281.8 kB / 1.163 GB, free: 5.238 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006863/0.9641, allocations: 5.859 MB / 1.168 GB, free: 1.129 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002553/0.9667, allocations: 195.5 kB / 1.169 GB, free: 1.07 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002996/0.967, allocations: 71.23 kB / 1.169 GB, free: 1.059 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * 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 (133): * Single equations (assignments): 129 * 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.0006221/0.9676, allocations: 277.7 kB / 1.169 GB, free: 0.8125 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008665/0.9685, allocations: 294.3 kB / 1.169 GB, free: 0.6562 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005455/0.974, allocations: 2.274 MB / 1.171 GB, free: 15.76 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.253e-05/0.974, allocations: 11.72 kB / 1.171 GB, free: 15.76 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.193e-06/0.974, allocations: 0 / 1.171 GB, free: 15.76 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003789/0.9778, allocations: 1.995 MB / 1.173 GB, free: 14.76 MB / 0.7605 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 postOpt removeSimpleEquations (simulation): time 0.01118/0.989, allocations: 4.326 MB / 1.178 GB, free: 12.82 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.554e-06/0.989, allocations: 1.188 kB / 1.178 GB, free: 12.82 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008066/0.9899, allocations: 145.1 kB / 1.178 GB, free: 12.8 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001252/0.9911, allocations: 470.7 kB / 1.178 GB, free: 12.68 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001068/0.9913, allocations: 37.52 kB / 1.178 GB, free: 12.65 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002072/0.9933, allocations: 1.856 MB / 1.18 GB, free: 11.33 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.223e-06/0.9934, allocations: 13.23 kB / 1.18 GB, free: 11.32 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1774/1.171, allocations: 44.15 MB / 1.223 GB, free: 9.457 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001563/1.172, allocations: 473.2 kB / 1.224 GB, free: 8.973 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007074/1.173, allocations: 16 kB / 1.224 GB, free: 8.957 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00181/1.175, allocations: 143.7 kB / 1.224 GB, free: 8.816 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002197/1.175, allocations: 64.91 kB / 1.224 GB, free: 8.754 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001301/1.175, allocations: 39.98 kB / 1.224 GB, free: 8.715 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.003781/1.179, allocations: 1.942 MB / 1.226 GB, free: 6.781 MB / 0.7917 GB Notification: Performance of sort global known variables: time 2.51e-07/1.179, allocations: 0 / 1.226 GB, free: 6.781 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.01045/1.19, allocations: 2.419 MB / 1.228 GB, free: 4.359 MB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (pump.vol.dynBal.U,hea.outCon.T) * 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 (58): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * 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 {(2,5), (1,40)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00175/1.191, allocations: 0.5486 MB / 1.229 GB, free: 3.812 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.006456/1.198, allocations: 3.091 MB / 1.232 GB, free: 0.6797 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/1.198, allocations: 3.938 kB / 1.232 GB, free: 0.6758 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.001623/1.199, allocations: 0.7532 MB / 1.232 GB, free: 15.92 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006698/1.206, allocations: 1.196 MB / 1.234 GB, free: 14.73 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01272/1.219, allocations: 7.048 MB / 1.241 GB, free: 7.598 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002583/1.222, allocations: 2.079 MB / 1.243 GB, free: 5.488 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.004164/1.226, allocations: 0.7962 MB / 1.243 GB, free: 4.688 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00123/1.227, allocations: 215.3 kB / 1.244 GB, free: 4.477 MB / 0.8073 GB Notification: Performance of SimCode: time 8.32e-07/1.227, allocations: 4 kB / 1.244 GB, free: 4.473 MB / 0.8073 GB Notification: Performance of Templates: time 0.1122/1.339, allocations: 67.55 MB / 1.309 GB, free: 1.328 MB / 0.8698 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)