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/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.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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.781/1.781, allocations: 292.3 MB / 308.1 MB, free: 4.266 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.001276/0.001276, allocations: 191.7 kB / 376.9 MB, free: 1.801 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.448/1.448, allocations: 205 MB / 0.6354 GB, free: 9.797 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.0009686/0.0009687, allocations: 100.2 kB / 0.748 GB, free: 61.23 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0009764/0.0009765, allocations: 47.92 kB / 0.8704 GB, free: 13.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2532/0.2542, allocations: 114.5 MB / 0.9822 GB, free: 10.4 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example3): time 0.03562/0.2899, allocations: 32.67 MB / 1.014 GB, free: 9.602 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.501/0.791, allocations: 13.54 MB / 1.027 GB, free: 63.03 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002323/0.7933, allocations: 46.66 kB / 1.027 GB, free: 63.03 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.002476/0.7958, allocations: 0.6331 MB / 1.028 GB, free: 63.03 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.004607/0.8005, allocations: 1.451 MB / 1.029 GB, free: 62.97 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.004227/0.8047, allocations: 1.248 MB / 1.031 GB, free: 62.93 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.008483/0.8132, allocations: 6.438 MB / 1.037 GB, free: 62.92 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003991/0.8173, allocations: 1.774 MB / 1.039 GB, free: 62.71 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004973/0.8223, allocations: 1.671 MB / 1.04 GB, free: 62.51 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003657/0.826, allocations: 1.378 MB / 1.042 GB, free: 62.25 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0004322/0.8264, allocations: 82.12 kB / 1.042 GB, free: 62.25 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004274/0.8307, allocations: 1.096 MB / 1.043 GB, free: 62.23 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0008435/0.8316, allocations: 406.9 kB / 1.043 GB, free: 62.16 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.002525/0.8341, allocations: 0.9387 MB / 1.044 GB, free: 61.86 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.006026/0.8402, allocations: 2.845 MB / 1.047 GB, free: 61.43 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/0.8402, allocations: 0.9375 kB / 1.047 GB, free: 61.43 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.272e-06/0.8402, allocations: 0 / 1.047 GB, free: 61.43 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 7.515e-05/0.8403, allocations: 1.438 kB / 1.047 GB, free: 61.43 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: 235 * Number of variables: 235 Notification: Performance of Generate backend data structure: time 0.005581/0.8459, allocations: 2.38 MB / 1.049 GB, free: 60.2 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.557e-05/0.846, allocations: 12.44 kB / 1.049 GB, free: 60.2 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001269/0.8472, allocations: 304 kB / 1.049 GB, free: 60.08 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003051/0.8503, allocations: 1.634 MB / 1.051 GB, free: 59.59 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.113e-05/0.8504, allocations: 83.61 kB / 1.051 GB, free: 59.59 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001538/0.8506, allocations: 106.7 kB / 1.051 GB, free: 59.59 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002058/0.8526, allocations: 1.284 MB / 1.053 GB, free: 59.34 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.01e-05/0.8527, allocations: 7.594 kB / 1.053 GB, free: 59.34 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.695e-05/0.8528, allocations: 39.66 kB / 1.053 GB, free: 59.34 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.208e-05/0.8528, allocations: 26.38 kB / 1.053 GB, free: 59.34 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001755/0.8546, allocations: 0.982 MB / 1.054 GB, free: 59.31 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.008378/0.863, allocations: 6.74 MB / 1.06 GB, free: 55.16 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00126/0.8642, allocations: 0.5876 MB / 1.061 GB, free: 55.13 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006598/0.8649, allocations: 393.2 kB / 1.061 GB, free: 55.12 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002969/0.8679, allocations: 1.686 MB / 1.063 GB, free: 54.22 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006898/0.8686, allocations: 362.2 kB / 1.063 GB, free: 54.16 MB / 0.7448 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007503/0.8694, allocations: 105.9 kB / 1.063 GB, free: 54.13 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=46): time 2.915e-06/0.8694, allocations: 0 / 1.063 GB, free: 54.13 MB / 0.7448 GB Notification: Performance of matching and sorting (n=46): time 0.003132/0.8725, allocations: 1.29 MB / 1.064 GB, free: 53.87 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.678e-05/0.8726, allocations: 62.34 kB / 1.064 GB, free: 53.8 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002217/0.8748, allocations: 1.774 MB / 1.066 GB, free: 53.43 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 6.503e-05/0.8749, allocations: 40.39 kB / 1.066 GB, free: 53.39 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005966/0.8755, allocations: 0.8543 MB / 1.067 GB, free: 52.73 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001388/0.8757, allocations: 157.4 kB / 1.067 GB, free: 52.61 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002629/0.8759, allocations: 189.8 kB / 1.067 GB, free: 52.52 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.907e-05/0.876, allocations: 337.3 kB / 1.068 GB, free: 52.2 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005759/0.8766, allocations: 319.1 kB / 1.068 GB, free: 52.1 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007542/0.8774, allocations: 0.7315 MB / 1.069 GB, free: 51.44 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001284/0.8787, allocations: 0.9874 MB / 1.07 GB, free: 50.74 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.264e-06/0.8787, allocations: 4.875 kB / 1.07 GB, free: 50.74 MB / 0.7448 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002455/0.8811, allocations: 1.284 MB / 1.071 GB, free: 50.23 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 4.498e-05/0.8812, allocations: 41.44 kB / 1.071 GB, free: 50.2 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.781e-05/0.8812, allocations: 9.656 kB / 1.071 GB, free: 50.2 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006442/0.8819, allocations: 195.8 kB / 1.071 GB, free: 50.15 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005766/0.8825, allocations: 167.5 kB / 1.071 GB, free: 50.14 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005794/0.8831, allocations: 0.7551 MB / 1.072 GB, free: 49.54 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001395/0.8845, allocations: 95.08 kB / 1.072 GB, free: 49.51 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.966e-05/0.8846, allocations: 47.88 kB / 1.072 GB, free: 49.51 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001353/0.8859, allocations: 0.7051 MB / 1.073 GB, free: 49.22 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006638/0.8866, allocations: 0.7098 MB / 1.074 GB, free: 48.55 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001102/0.8877, allocations: 0.9198 MB / 1.075 GB, free: 47.88 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.45e-06/0.8877, allocations: 3.906 kB / 1.075 GB, free: 47.88 MB / 0.7448 GB Notification: Performance of matching and sorting (n=99) (initialization_lambda0): time 0.00208/0.8898, allocations: 1.257 MB / 1.076 GB, free: 47.29 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.094e-05/0.8899, allocations: 34.58 kB / 1.076 GB, free: 47.26 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.209e-05/0.8899, allocations: 11.41 kB / 1.076 GB, free: 47.26 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002222/0.8901, allocations: 128.7 kB / 1.076 GB, free: 47.22 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005217/0.8906, allocations: 160.4 kB / 1.076 GB, free: 47.21 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001808/0.8925, allocations: 2.129 MB / 1.078 GB, free: 45.53 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001326/0.8938, allocations: 92.89 kB / 1.078 GB, free: 45.5 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.204e-05/0.8939, allocations: 39.98 kB / 1.078 GB, free: 45.5 MB / 0.7448 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 (85): * Single equations (assignments): 82 * 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.0003209/0.8942, allocations: 251 kB / 1.079 GB, free: 45.27 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002118/0.8944, allocations: 173.6 kB / 1.079 GB, free: 45.17 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002048/0.8965, allocations: 0.9841 MB / 1.08 GB, free: 44.82 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.271e-05/0.8965, allocations: 6.438 kB / 1.08 GB, free: 44.82 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-06/0.8965, allocations: 0 / 1.08 GB, free: 44.82 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001255/0.8978, allocations: 0.9406 MB / 1.081 GB, free: 44.25 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 postOpt removeSimpleEquations (simulation): time 0.003686/0.9015, allocations: 2.158 MB / 1.083 GB, free: 43.23 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.74e-06/0.9015, allocations: 3.312 kB / 1.083 GB, free: 43.23 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004038/0.9019, allocations: 83.52 kB / 1.083 GB, free: 43.22 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002707/0.9022, allocations: 125.5 kB / 1.083 GB, free: 43.18 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.94e-05/0.9022, allocations: 15.38 kB / 1.083 GB, free: 43.18 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004546/0.9027, allocations: 0.7464 MB / 1.084 GB, free: 42.57 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.736e-06/0.9027, allocations: 3.031 kB / 1.084 GB, free: 42.57 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02005/0.9228, allocations: 10.48 MB / 1.094 GB, free: 36.57 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008501/0.9237, allocations: 306.7 kB / 1.094 GB, free: 36.34 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003444/0.924, allocations: 10.03 kB / 1.094 GB, free: 36.34 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009278/0.925, allocations: 67.52 kB / 1.094 GB, free: 36.32 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001361/0.9251, allocations: 40.61 kB / 1.094 GB, free: 36.32 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.066e-05/0.9252, allocations: 23.22 kB / 1.094 GB, free: 36.31 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.00165/0.9268, allocations: 1.223 MB / 1.096 GB, free: 35.86 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9269, allocations: 3.188 kB / 1.096 GB, free: 35.86 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.004316/0.9312, allocations: 1.323 MB / 1.097 GB, free: 35.68 MB / 0.7448 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 (40): * Single equations (assignments): 34 * 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.001297/0.9325, allocations: 455.7 kB / 1.097 GB, free: 35.5 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.00261/0.9351, allocations: 1.45 MB / 1.099 GB, free: 34.86 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.788e-06/0.9351, allocations: 0 / 1.099 GB, free: 34.86 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.000606/0.9357, allocations: 342.9 kB / 1.099 GB, free: 34.75 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003314/0.9391, allocations: 0.732 MB / 1.1 GB, free: 34.55 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005235/0.9443, allocations: 3.968 MB / 1.104 GB, free: 32.23 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000926/0.9453, allocations: 1.522 MB / 1.105 GB, free: 31.4 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.001907/0.9472, allocations: 462.5 kB / 1.105 GB, free: 31.3 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003396/0.9475, allocations: 133.6 kB / 1.106 GB, free: 31.29 MB / 0.7448 GB Notification: Performance of SimCode: time 7.11e-07/0.9475, allocations: 0 / 1.106 GB, free: 31.29 MB / 0.7448 GB Notification: Performance of Templates: time 0.06942/1.017, allocations: 35.04 MB / 1.14 GB, free: 27.69 MB / 0.7448 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)