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: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example2,fileNamePrefix="Buildings_8_Buildings_Fluid_Examples_Performance_Example2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example2,fileNamePrefix="Buildings_8_Buildings_Fluid_Examples_Performance_Example2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000963/0.0009629, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.0009873/0.0009874, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.668/1.668, allocations: 205.4 MB / 222.1 MB, free: 5.516 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 2.02/2.02, allocations: 292.6 MB / 0.5497 GB, free: 14.61 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.0008362/0.0008364, allocations: 12.75 kB / 0.6737 GB, free: 26.13 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2831/0.2839, allocations: 116.3 MB / 0.7872 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example2): time 0.02726/0.3113, allocations: 24.91 MB / 0.8116 GB, free: 2.883 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.02124/0.3326, allocations: 11.11 MB / 0.8224 GB, free: 7.754 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001831/0.3345, allocations: 35.75 kB / 0.8224 GB, free: 7.719 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002495/0.337, allocations: 0.5677 MB / 0.823 GB, free: 7.148 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.004982/0.342, allocations: 1.332 MB / 0.8243 GB, free: 5.816 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.007801/0.3498, allocations: 2.275 MB / 0.8265 GB, free: 3.562 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.004489/0.3543, allocations: 2.202 MB / 0.8287 GB, free: 1.355 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00197/0.3563, allocations: 0.9962 MB / 0.8296 GB, free: 344 kB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002396/0.3587, allocations: 1 MB / 0.8306 GB, free: 15.33 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001657/0.3604, allocations: 0.7039 MB / 0.8313 GB, free: 14.62 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0004729/0.3609, allocations: 48 kB / 0.8314 GB, free: 14.58 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002579/0.3635, allocations: 0.7295 MB / 0.8321 GB, free: 13.85 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0005859/0.3641, allocations: 302.8 kB / 0.8324 GB, free: 13.55 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0007923/0.3649, allocations: 316.9 kB / 0.8327 GB, free: 13.23 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.003315/0.3682, allocations: 1.734 MB / 0.8343 GB, free: 11.5 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.463e-06/0.3682, allocations: 0 / 0.8343 GB, free: 11.5 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.014e-06/0.3683, allocations: 3.938 kB / 0.8344 GB, free: 11.49 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.476e-05/0.3683, allocations: 0 / 0.8344 GB, free: 11.49 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.004071/0.3724, allocations: 1.693 MB / 0.836 GB, free: 9.734 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.262e-05/0.3725, allocations: 8.031 kB / 0.836 GB, free: 9.727 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002086/0.3727, allocations: 130.6 kB / 0.8361 GB, free: 9.59 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001269/0.374, allocations: 261.8 kB / 0.8364 GB, free: 9.332 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002813/0.3768, allocations: 1.254 MB / 0.8376 GB, free: 8.027 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.248e-05/0.3769, allocations: 62 kB / 0.8377 GB, free: 7.965 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001559/0.3771, allocations: 84 kB / 0.8378 GB, free: 7.883 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002093/0.3792, allocations: 1.015 MB / 0.8387 GB, free: 6.816 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.846e-05/0.3792, allocations: 4 kB / 0.8387 GB, free: 6.812 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.196e-05/0.3793, allocations: 32 kB / 0.8388 GB, free: 6.781 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.881e-05/0.3793, allocations: 16 kB / 0.8388 GB, free: 6.766 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002084/0.3814, allocations: 0.7728 MB / 0.8395 GB, free: 5.992 MB / 0.6544 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.007651/0.3891, allocations: 5.007 MB / 0.8444 GB, free: 0.6641 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001762/0.3909, allocations: 0.6361 MB / 0.8451 GB, free: 20 kB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00339/0.3943, allocations: 1.882 MB / 0.8469 GB, free: 13.99 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009241/0.3952, allocations: 367 kB / 0.8472 GB, free: 13.62 MB / 0.67 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004783/0.3957, allocations: 103.4 kB / 0.8473 GB, free: 13.52 MB / 0.67 GB Notification: Performance of pre-optimization done (n=44): time 2.284e-06/0.3957, allocations: 0 / 0.8473 GB, free: 13.52 MB / 0.67 GB Notification: Performance of matching and sorting (n=44): time 0.004512/0.4003, allocations: 1.349 MB / 0.8487 GB, free: 12.14 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.79e-05/0.4003, allocations: 59.41 kB / 0.8487 GB, free: 12.07 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001818/0.4022, allocations: 1.328 MB / 0.85 GB, free: 10.72 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 6.775e-05/0.4023, allocations: 37.7 kB / 0.8501 GB, free: 10.68 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006261/0.4029, allocations: 0.6411 MB / 0.8507 GB, free: 10.03 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001522/0.4031, allocations: 153.8 kB / 0.8508 GB, free: 9.879 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.066e-05/0.4031, allocations: 16 kB / 0.8508 GB, free: 9.863 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001454/0.4033, allocations: 337.9 kB / 0.8512 GB, free: 9.527 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006251/0.4039, allocations: 269.7 kB / 0.8514 GB, free: 9.262 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008938/0.4048, allocations: 0.6091 MB / 0.852 GB, free: 8.492 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007371/0.4055, allocations: 370.2 kB / 0.8524 GB, free: 8.125 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.815e-06/0.4056, allocations: 4 kB / 0.8524 GB, free: 8.121 MB / 0.67 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002482/0.408, allocations: 1.133 MB / 0.8535 GB, free: 6.973 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.001328/0.4094, allocations: 3.13 MB / 0.8565 GB, free: 3.641 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.707e-05/0.4094, allocations: 8 kB / 0.8565 GB, free: 3.633 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008603/0.4103, allocations: 216.6 kB / 0.8567 GB, free: 3.418 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005858/0.4109, allocations: 155.8 kB / 0.8569 GB, free: 3.266 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009349/0.4118, allocations: 0.8681 MB / 0.8577 GB, free: 2.371 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001073/0.4129, allocations: 92.48 kB / 0.8578 GB, free: 2.281 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.201e-05/0.413, allocations: 43.97 kB / 0.8579 GB, free: 2.238 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.053e-05/0.413, allocations: 4 kB / 0.8579 GB, free: 2.234 MB / 0.67 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001626/0.4146, allocations: 0.8597 MB / 0.8587 GB, free: 1.367 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.909e-06/0.4147, allocations: 8 kB / 0.8587 GB, free: 1.359 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003558/0.415, allocations: 137.1 kB / 0.8589 GB, free: 1.223 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004674/0.4155, allocations: 143.8 kB / 0.859 GB, free: 1.082 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002823/0.4183, allocations: 2.388 MB / 0.8613 GB, free: 14.55 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009808/0.4193, allocations: 80.59 kB / 0.8614 GB, free: 14.47 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.523e-05/0.4194, allocations: 47.98 kB / 0.8614 GB, free: 14.42 MB / 0.6856 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 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {5 7} Notification: Performance of prepare postOptimizeDAE: time 0.0008934/0.4203, allocations: 472.7 kB / 0.8619 GB, free: 13.95 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001731/0.4205, allocations: 130.3 kB / 0.862 GB, free: 13.82 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001998/0.4225, allocations: 0.9391 MB / 0.8629 GB, free: 12.87 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.16e-05/0.4225, allocations: 8 kB / 0.8629 GB, free: 12.86 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.004e-06/0.4225, allocations: 4 kB / 0.863 GB, free: 12.86 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001504/0.4241, allocations: 0.9233 MB / 0.8639 GB, free: 11.86 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003136/0.4272, allocations: 1.963 MB / 0.8658 GB, free: 9.816 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.4272, allocations: 4 kB / 0.8658 GB, free: 9.812 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004206/0.4276, allocations: 91.86 kB / 0.8659 GB, free: 9.723 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003037/0.428, allocations: 152.8 kB / 0.866 GB, free: 9.57 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.842e-05/0.428, allocations: 15.98 kB / 0.866 GB, free: 9.555 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006505/0.4287, allocations: 0.8165 MB / 0.8668 GB, free: 8.715 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.4287, allocations: 0 / 0.8668 GB, free: 8.715 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002264/0.431, allocations: 1.319 MB / 0.8681 GB, free: 7.352 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005074/0.4315, allocations: 283.3 kB / 0.8684 GB, free: 7.055 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001367/0.4316, allocations: 12 kB / 0.8684 GB, free: 7.043 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007033/0.4323, allocations: 79.89 kB / 0.8685 GB, free: 6.965 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001057/0.4324, allocations: 44.33 kB / 0.8685 GB, free: 6.922 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.969e-05/0.4325, allocations: 23.98 kB / 0.8685 GB, free: 6.898 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001178/0.4337, allocations: 0.9167 MB / 0.8694 GB, free: 5.98 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2e-07/0.4337, allocations: 0 / 0.8694 GB, free: 5.98 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001968/0.4357, allocations: 0.6824 MB / 0.8701 GB, free: 5.297 MB / 0.6856 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {5 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.003209/0.4389, allocations: 2.21 MB / 0.8723 GB, free: 3.043 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002936/0.4418, allocations: 1.41 MB / 0.8736 GB, free: 1.598 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.838e-06/0.4419, allocations: 3.938 kB / 0.8736 GB, free: 1.594 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0007819/0.4426, allocations: 350.8 kB / 0.874 GB, free: 1.254 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002546/0.4452, allocations: 0.5733 MB / 0.8745 GB, free: 0.6836 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007046/0.4523, allocations: 8.951 MB / 0.8833 GB, free: 7.52 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009318/0.4532, allocations: 1.295 MB / 0.8845 GB, free: 6.195 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001545/0.4548, allocations: 314.4 kB / 0.8848 GB, free: 5.883 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007452/0.4555, allocations: 0.4914 MB / 0.8853 GB, free: 5.391 MB / 0.7012 GB Notification: Performance of SimCode: time 1.332e-06/0.4555, allocations: 0 / 0.8853 GB, free: 5.391 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0766/0.5321, allocations: 37.16 MB / 0.9216 GB, free: 0.7344 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002088/0.5324, allocations: 252.5 kB / 0.9218 GB, free: 472 kB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.056/3.589, allocations: 0 / 0.9218 GB, free: 472 kB / 0.7325 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Examples_Performance_Example2_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Examples_Performance_Example2.fmu > Buildings_8_Buildings.Fluid.Examples.Performance.Example2.pipe 2>&1) Environment - environmentSimulation: