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.0007641/0.0007641, allocations: 89.89 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.005138/0.005138, allocations: 171.8 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.452/1.452, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.709/1.709, allocations: 292.7 MB / 0.5502 GB, free: 14.44 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.0004994/0.0004993, allocations: 15.16 kB / 0.6743 GB, free: 26.01 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2298/0.2304, allocations: 116.3 MB / 0.7879 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example1v1): time 0.0639/0.2943, allocations: 70.78 MB / 0.857 GB, free: 4.551 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02815/0.3225, allocations: 20.3 MB / 0.8768 GB, free: 216 kB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003495/0.326, allocations: 87.38 kB / 0.8769 GB, free: 128 kB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.003178/0.3292, allocations: 0.859 MB / 0.8777 GB, free: 15.26 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.006759/0.336, allocations: 2.165 MB / 0.8798 GB, free: 13.09 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.005134/0.3412, allocations: 1.867 MB / 0.8817 GB, free: 11.23 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.01171/0.3529, allocations: 10.57 MB / 0.892 GB, free: 0.6328 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007685/0.3606, allocations: 5.56 MB / 0.8974 GB, free: 11.02 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006936/0.3676, allocations: 2.777 MB / 0.9001 GB, free: 8.227 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004781/0.3724, allocations: 2.403 MB / 0.9025 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0006316/0.3731, allocations: 124 kB / 0.9026 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003433/0.3765, allocations: 1.232 MB / 0.9038 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0007189/0.3772, allocations: 0.6065 MB / 0.9044 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.002646/0.3799, allocations: 1.606 MB / 0.906 GB, free: 2.227 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.4269/0.8068, allocations: 4.488 MB / 0.9103 GB, free: 34.32 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.171e-06/0.8068, allocations: 3.188 kB / 0.9103 GB, free: 34.32 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.527e-06/0.8068, allocations: 0 / 0.9103 GB, free: 34.32 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0001298/0.807, allocations: 0 / 0.9103 GB, free: 34.32 MB / 0.7169 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.008136/0.8151, allocations: 3.795 MB / 0.9141 GB, free: 32.71 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.727e-05/0.8152, allocations: 9 kB / 0.9141 GB, free: 32.71 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002673/0.8179, allocations: 0.5682 MB / 0.9146 GB, free: 32.52 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005394/0.8233, allocations: 2.639 MB / 0.9172 GB, free: 31.81 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001321/0.8234, allocations: 141.8 kB / 0.9173 GB, free: 31.8 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003465/0.8238, allocations: 182.3 kB / 0.9175 GB, free: 31.8 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003838/0.8276, allocations: 2.324 MB / 0.9198 GB, free: 31.39 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.88e-05/0.8277, allocations: 6.312 kB / 0.9198 GB, free: 31.39 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001685/0.8279, allocations: 66.84 kB / 0.9198 GB, free: 31.39 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.508e-05/0.8279, allocations: 42.56 kB / 0.9199 GB, free: 31.39 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003363/0.8313, allocations: 1.899 MB / 0.9217 GB, free: 31.36 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.0138/0.8451, allocations: 11.66 MB / 0.9331 GB, free: 25.28 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002829/0.8479, allocations: 1.383 MB / 0.9345 GB, free: 25.21 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00184/0.8498, allocations: 1.02 MB / 0.9355 GB, free: 25.19 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006065/0.8559, allocations: 3.751 MB / 0.9391 GB, free: 23.5 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001376/0.8573, allocations: 0.7848 MB / 0.9399 GB, free: 23.44 MB / 0.7169 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001876/0.8592, allocations: 450.5 kB / 0.9403 GB, free: 23.36 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=96): time 3.596e-06/0.8592, allocations: 4.625 kB / 0.9403 GB, free: 23.36 MB / 0.7169 GB Notification: Performance of matching and sorting (n=96): time 0.01192/0.8711, allocations: 4.193 MB / 0.9444 GB, free: 22.76 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.463e-05/0.8712, allocations: 66.75 kB / 0.9445 GB, free: 22.69 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005249/0.8764, allocations: 2.839 MB / 0.9473 GB, free: 22.43 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0002402/0.8767, allocations: 60.64 kB / 0.9473 GB, free: 22.4 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001397/0.8781, allocations: 1.412 MB / 0.9487 GB, free: 22.01 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003832/0.8785, allocations: 348.2 kB / 0.949 GB, free: 21.8 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002476/0.8788, allocations: 128.4 kB / 0.9492 GB, free: 21.78 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.563e-05/0.8788, allocations: 308.4 kB / 0.9495 GB, free: 21.48 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001364/0.8802, allocations: 0.6682 MB / 0.9501 GB, free: 21.47 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001743/0.8819, allocations: 1.417 MB / 0.9515 GB, free: 20.55 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002892/0.8848, allocations: 1.886 MB / 0.9533 GB, free: 19.97 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-05/0.8849, allocations: 2.938 kB / 0.9533 GB, free: 19.97 MB / 0.7169 GB Notification: Performance of matching and sorting (n=181) (initialization): time 0.005758/0.8906, allocations: 2.813 MB / 0.9561 GB, free: 19.62 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002531/0.8909, allocations: 0.537 MB / 0.9566 GB, free: 18.97 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.696e-05/0.8909, allocations: 12.66 kB / 0.9566 GB, free: 18.97 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002396/0.8933, allocations: 0.7009 MB / 0.9573 GB, free: 18.91 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001185/0.8945, allocations: 285.3 kB / 0.9576 GB, free: 18.91 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001541/0.8961, allocations: 1.909 MB / 0.9594 GB, free: 17.84 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002497/0.8986, allocations: 180.6 kB / 0.9596 GB, free: 17.82 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001799/0.8988, allocations: 78.11 kB / 0.9597 GB, free: 17.82 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 9.277e-06/0.8988, allocations: 2.594 kB / 0.9597 GB, free: 17.82 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003745/0.9026, allocations: 2.355 MB / 0.962 GB, free: 17.57 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.038e-05/0.9026, allocations: 12.72 kB / 0.962 GB, free: 17.57 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00087/0.9035, allocations: 480.3 kB / 0.9625 GB, free: 17.5 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001047/0.9046, allocations: 289.1 kB / 0.9627 GB, free: 17.45 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005712/0.9103, allocations: 5.862 MB / 0.9685 GB, free: 14 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002339/0.9126, allocations: 177.7 kB / 0.9686 GB, free: 13.95 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001891/0.9128, allocations: 65.3 kB / 0.9687 GB, free: 13.95 MB / 0.7169 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.001565/0.9144, allocations: 0.8264 MB / 0.9695 GB, free: 13.63 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000698/0.9151, allocations: 295.9 kB / 0.9698 GB, free: 13.47 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004459/0.9196, allocations: 2.304 MB / 0.972 GB, free: 12.85 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-05/0.9196, allocations: 16.27 kB / 0.972 GB, free: 12.85 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.317e-06/0.9196, allocations: 0 / 0.972 GB, free: 12.85 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00291/0.9226, allocations: 2.018 MB / 0.974 GB, free: 12.12 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 postOpt removeSimpleEquations (simulation): time 0.007229/0.9298, allocations: 4.338 MB / 0.9782 GB, free: 10.67 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.9298, allocations: 0 / 0.9782 GB, free: 10.67 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007175/0.9305, allocations: 146.6 kB / 0.9784 GB, free: 10.63 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009288/0.9315, allocations: 475.9 kB / 0.9788 GB, free: 10.49 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.123e-05/0.9316, allocations: 33.16 kB / 0.9789 GB, free: 10.48 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001191/0.9328, allocations: 1.864 MB / 0.9807 GB, free: 9.098 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.9328, allocations: 3.375 kB / 0.9807 GB, free: 9.098 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004611/0.9374, allocations: 3.059 MB / 0.9837 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001109/0.9385, allocations: 0.4975 MB / 0.9842 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005206/0.939, allocations: 19.95 kB / 0.9842 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001505/0.9406, allocations: 161.8 kB / 0.9843 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00014/0.9407, allocations: 64.12 kB / 0.9844 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.195e-05/0.9408, allocations: 40.69 kB / 0.9844 GB, free: 6.887 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.002361/0.9432, allocations: 1.935 MB / 0.9863 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9432, allocations: 0 / 0.9863 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.003949/0.9471, allocations: 1.355 MB / 0.9877 GB, free: 5.645 MB / 0.7169 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.001039/0.9482, allocations: 457 kB / 0.9881 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.004941/0.9531, allocations: 3.132 MB / 0.9912 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.9531, allocations: 2.516 kB / 0.9912 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001253/0.9544, allocations: 0.7582 MB / 0.9919 GB, free: 2.289 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005479/0.9599, allocations: 1.189 MB / 0.9931 GB, free: 1.117 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008819/0.9687, allocations: 6.08 MB / 0.999 GB, free: 11.03 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001796/0.9705, allocations: 2.04 MB / 1.001 GB, free: 8.965 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.002767/0.9733, allocations: 0.722 MB / 1.002 GB, free: 8.238 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005142/0.9738, allocations: 191.4 kB / 1.002 GB, free: 8.051 MB / 0.7325 GB Notification: Performance of SimCode: time 6.81e-07/0.9739, allocations: 0 / 1.002 GB, free: 8.051 MB / 0.7325 GB Notification: Performance of Templates: time 0.08769/1.062, allocations: 51.41 MB / 1.052 GB, free: 5.613 MB / 0.7794 GB make -j1 -f Buildings_8_Buildings.Fluid.Examples.Performance.Example1v1.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: