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/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.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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.846/1.846, allocations: 292.3 MB / 308.1 MB, free: 4.27 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.001258/0.001258, allocations: 187.4 kB / 376.9 MB, free: 1.832 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.6353 GB, free: 9.828 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.0009215/0.0009215, allocations: 104.9 kB / 0.748 GB, free: 61.02 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001194/0.001195, allocations: 55.92 kB / 0.8704 GB, free: 13.15 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2586/0.2598, allocations: 114.5 MB / 0.9822 GB, free: 10.45 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example2): time 0.02906/0.289, allocations: 29.57 MB / 1.011 GB, free: 12.76 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.4626/0.7516, allocations: 12.98 MB / 1.024 GB, free: 62.98 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002208/0.7538, allocations: 44.38 kB / 1.024 GB, free: 62.98 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.002206/0.7561, allocations: 0.5937 MB / 1.024 GB, free: 62.98 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.004297/0.7604, allocations: 1.338 MB / 1.026 GB, free: 62.98 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.003722/0.7641, allocations: 1.221 MB / 1.027 GB, free: 62.98 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.006187/0.7703, allocations: 5.026 MB / 1.032 GB, free: 62.98 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00226/0.7726, allocations: 1.131 MB / 1.033 GB, free: 62.86 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00321/0.7759, allocations: 1.305 MB / 1.034 GB, free: 62.74 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002674/0.7786, allocations: 1.047 MB / 1.035 GB, free: 62.55 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0006128/0.7792, allocations: 62.38 kB / 1.035 GB, free: 62.55 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004101/0.7833, allocations: 1.076 MB / 1.036 GB, free: 62.53 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0008865/0.7842, allocations: 337.4 kB / 1.037 GB, free: 62.47 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.002381/0.7866, allocations: 0.7273 MB / 1.037 GB, free: 62.24 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.005795/0.7924, allocations: 2.366 MB / 1.04 GB, free: 61.91 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 7.083e-06/0.7924, allocations: 0.75 kB / 1.04 GB, free: 61.91 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.363e-06/0.7925, allocations: 0.875 kB / 1.04 GB, free: 61.91 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 8.899e-05/0.7926, allocations: 0 / 1.04 GB, free: 61.91 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: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.006102/0.7987, allocations: 1.935 MB / 1.042 GB, free: 60.88 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.09e-05/0.7987, allocations: 9.594 kB / 1.042 GB, free: 60.88 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001375/0.8001, allocations: 250.9 kB / 1.042 GB, free: 60.79 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002954/0.8031, allocations: 1.314 MB / 1.043 GB, free: 60.38 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.996e-05/0.8032, allocations: 66.19 kB / 1.043 GB, free: 60.37 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001499/0.8033, allocations: 91.45 kB / 1.043 GB, free: 60.37 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00179/0.8051, allocations: 0.9763 MB / 1.044 GB, free: 60.18 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.568e-05/0.8052, allocations: 1.406 kB / 1.044 GB, free: 60.18 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.874e-05/0.8052, allocations: 38.64 kB / 1.044 GB, free: 60.18 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.908e-05/0.8053, allocations: 19.25 kB / 1.044 GB, free: 60.18 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001555/0.8068, allocations: 0.7156 MB / 1.045 GB, free: 60.16 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.005862/0.8127, allocations: 4.938 MB / 1.05 GB, free: 57.28 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001117/0.8138, allocations: 0.565 MB / 1.05 GB, free: 57.25 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005602/0.8144, allocations: 322.2 kB / 1.051 GB, free: 57.24 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002182/0.8166, allocations: 1.564 MB / 1.052 GB, free: 56.3 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006369/0.8173, allocations: 334.2 kB / 1.052 GB, free: 56.25 MB / 0.7448 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005007/0.8178, allocations: 98.5 kB / 1.053 GB, free: 56.22 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=44): time 2.494e-06/0.8178, allocations: 4 kB / 1.053 GB, free: 56.22 MB / 0.7448 GB Notification: Performance of matching and sorting (n=44): time 0.002912/0.8207, allocations: 1.146 MB / 1.054 GB, free: 55.99 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.563e-05/0.8207, allocations: 58.72 kB / 1.054 GB, free: 55.92 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001503/0.8223, allocations: 1.267 MB / 1.055 GB, free: 55.75 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 4.866e-05/0.8223, allocations: 39.14 kB / 1.055 GB, free: 55.72 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004728/0.8228, allocations: 0.6377 MB / 1.056 GB, free: 55.5 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.000136/0.8229, allocations: 157.5 kB / 1.056 GB, free: 55.4 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002144/0.8232, allocations: 164.5 kB / 1.056 GB, free: 55.38 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 6.725e-05/0.8232, allocations: 328.5 kB / 1.056 GB, free: 55.07 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005212/0.8238, allocations: 272.7 kB / 1.057 GB, free: 55.06 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006527/0.8244, allocations: 0.5878 MB / 1.057 GB, free: 54.66 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00114/0.8256, allocations: 0.8082 MB / 1.058 GB, free: 54.32 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.529e-06/0.8256, allocations: 0 / 1.058 GB, free: 54.32 MB / 0.7448 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001961/0.8276, allocations: 1.087 MB / 1.059 GB, free: 54.16 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.803e-05/0.8276, allocations: 34.98 kB / 1.059 GB, free: 54.13 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.399e-05/0.8276, allocations: 10.16 kB / 1.059 GB, free: 54.13 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006077/0.8282, allocations: 192.4 kB / 1.059 GB, free: 54.11 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004926/0.8288, allocations: 142.7 kB / 1.059 GB, free: 54.11 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005967/0.8294, allocations: 0.7724 MB / 1.06 GB, free: 53.58 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009239/0.8303, allocations: 67.42 kB / 1.06 GB, free: 53.58 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.571e-05/0.8304, allocations: 40.89 kB / 1.06 GB, free: 53.58 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009402/0.8313, allocations: 0.5442 MB / 1.061 GB, free: 53.5 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005344/0.8319, allocations: 0.5559 MB / 1.061 GB, free: 53.09 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009101/0.8328, allocations: 0.7402 MB / 1.062 GB, free: 52.76 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.347e-06/0.8328, allocations: 0 / 1.062 GB, free: 52.76 MB / 0.7448 GB Notification: Performance of matching and sorting (n=85) (initialization_lambda0): time 0.001526/0.8343, allocations: 1.055 MB / 1.063 GB, free: 52.5 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.723e-05/0.8344, allocations: 36 kB / 1.063 GB, free: 52.47 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.766e-06/0.8344, allocations: 15.09 kB / 1.063 GB, free: 52.46 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001838/0.8346, allocations: 102.7 kB / 1.063 GB, free: 52.46 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004269/0.835, allocations: 130.3 kB / 1.063 GB, free: 52.46 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001671/0.8367, allocations: 2.167 MB / 1.065 GB, free: 51.04 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008534/0.8376, allocations: 69.94 kB / 1.065 GB, free: 51.03 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.348e-05/0.8377, allocations: 43.3 kB / 1.065 GB, free: 51.02 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (72): * Single equations (assignments): 69 * 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.0002435/0.8379, allocations: 231.3 kB / 1.066 GB, free: 50.84 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001465/0.8381, allocations: 125.1 kB / 1.066 GB, free: 50.77 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001777/0.8398, allocations: 0.8617 MB / 1.067 GB, free: 50.68 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.205e-05/0.8399, allocations: 6.594 kB / 1.067 GB, free: 50.68 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.074e-06/0.8399, allocations: 0 / 1.067 GB, free: 50.68 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001191/0.8411, allocations: 0.8657 MB / 1.068 GB, free: 50.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.003036/0.8441, allocations: 1.847 MB / 1.069 GB, free: 49.35 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.8441, allocations: 3.25 kB / 1.069 GB, free: 49.35 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003551/0.8445, allocations: 75.88 kB / 1.069 GB, free: 49.34 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002554/0.8448, allocations: 129.3 kB / 1.07 GB, free: 49.3 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.662e-05/0.8448, allocations: 14.56 kB / 1.07 GB, free: 49.3 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004654/0.8453, allocations: 0.7469 MB / 1.07 GB, free: 48.71 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.8453, allocations: 3.938 kB / 1.07 GB, free: 48.71 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01698/0.8623, allocations: 9.197 MB / 1.079 GB, free: 43.31 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004213/0.8628, allocations: 254.4 kB / 1.079 GB, free: 43.11 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000125/0.8629, allocations: 14.34 kB / 1.079 GB, free: 43.11 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006035/0.8635, allocations: 64.92 kB / 1.08 GB, free: 43.09 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001166/0.8636, allocations: 39.58 kB / 1.08 GB, free: 43.08 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.58e-05/0.8637, allocations: 21.5 kB / 1.08 GB, free: 43.08 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.001151/0.8649, allocations: 0.8744 MB / 1.08 GB, free: 42.75 MB / 0.7448 GB Notification: Performance of sort global known variables: time 2.4e-07/0.8649, allocations: 0 / 1.08 GB, free: 42.75 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.003914/0.8688, allocations: 1.079 MB / 1.082 GB, free: 42.58 MB / 0.7448 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 (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 {(5,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001311/0.8701, allocations: 454.1 kB / 1.082 GB, free: 42.41 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.002571/0.8727, allocations: 1.308 MB / 1.083 GB, free: 41.88 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.8727, allocations: 2.531 kB / 1.083 GB, free: 41.88 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0006688/0.8734, allocations: 316.6 kB / 1.084 GB, free: 41.8 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002857/0.8763, allocations: 0.5629 MB / 1.084 GB, free: 41.66 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004243/0.8805, allocations: 3.264 MB / 1.087 GB, free: 39.69 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006435/0.8812, allocations: 1.289 MB / 1.089 GB, free: 38.91 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.001411/0.8826, allocations: 325.8 kB / 1.089 GB, free: 38.82 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002809/0.8829, allocations: 120.2 kB / 1.089 GB, free: 38.8 MB / 0.7448 GB Notification: Performance of SimCode: time 1.773e-06/0.8829, allocations: 0 / 1.089 GB, free: 38.8 MB / 0.7448 GB Notification: Performance of Templates: time 0.04746/0.9304, allocations: 29.06 MB / 1.117 GB, free: 36.61 MB / 0.7448 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)