Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example1v1,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_Example1v1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example1v1,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_Example1v1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.415/1.415, allocations: 249.3 MB / 261.8 MB, free: 5.891 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001034/0.001033, allocations: 184.1 kB / 321.3 MB, free: 14.67 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.453/1.453, allocations: 205.2 MB / 0.572 GB, free: 10.64 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009776/0.0009774, allocations: 90.47 kB / 0.6764 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.684e-05/4.685e-05, allocations: 4 kB / 0.788 GB, free: 97.04 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2395/0.2396, allocations: 106.3 MB / 0.8919 GB, free: 6.602 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.627/1.867, allocations: 415.1 MB / 1.297 GB, free: 257 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003203/1.867, allocations: 93.41 kB / 1.297 GB, free: 257 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 4.27/6.138, allocations: 1.307 GB / 2.604 GB, free: 0.5664 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.523e-06/6.138, allocations: 3.938 kB / 2.604 GB, free: 0.5625 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.000578/6.139, allocations: 95.95 kB / 2.604 GB, free: 480 kB / 0.9011 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.6311/6.77, allocations: 3.109 MB / 2.607 GB, free: 134 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.33e-05/6.77, allocations: 9.469 kB / 2.607 GB, free: 134 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008601/6.771, allocations: 225.7 kB / 2.607 GB, free: 133.9 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003314/6.774, allocations: 0.5302 MB / 2.608 GB, free: 133.7 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01413/6.788, allocations: 4.32 MB / 2.612 GB, free: 133.2 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002266/6.788, allocations: 137.4 kB / 2.612 GB, free: 133.2 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005265/6.789, allocations: 187.8 kB / 2.613 GB, free: 133.2 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003522/6.792, allocations: 2.168 MB / 2.615 GB, free: 132.8 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.019e-05/6.792, allocations: 8.125 kB / 2.615 GB, free: 132.8 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001604/6.793, allocations: 63 kB / 2.615 GB, free: 132.8 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.701e-05/6.793, allocations: 40.48 kB / 2.615 GB, free: 132.8 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003122/6.796, allocations: 1.677 MB / 2.616 GB, free: 132.8 MB / 0.9011 GB Warning: The model contains alias variables with conflicting start and/or 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.01626/6.812, allocations: 11.51 MB / 2.628 GB, free: 126.6 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001857/6.814, allocations: 1.178 MB / 2.629 GB, free: 126.5 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001082/6.815, allocations: 0.8971 MB / 2.63 GB, free: 126.5 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006724/6.822, allocations: 3.47 MB / 2.633 GB, free: 124.9 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001167/6.823, allocations: 0.675 MB / 2.634 GB, free: 124.8 MB / 0.9011 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002712/6.826, allocations: 0.616 MB / 2.634 GB, free: 124.8 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=98): time 4.659e-06/6.826, allocations: 1.656 kB / 2.634 GB, free: 124.8 MB / 0.9011 GB Notification: Performance of matching and sorting (n=98): time 0.003339/6.829, allocations: 1.788 MB / 2.636 GB, free: 124.5 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.165e-05/6.829, allocations: 63.16 kB / 2.636 GB, free: 124.5 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004071/6.833, allocations: 2.455 MB / 2.639 GB, free: 124.2 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0002464/6.833, allocations: 59.16 kB / 2.639 GB, free: 124.2 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.001139/6.835, allocations: 1.421 MB / 2.64 GB, free: 123.9 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003156/6.835, allocations: 347.1 kB / 2.64 GB, free: 123.7 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.414e-05/6.835, allocations: 27.62 kB / 2.64 GB, free: 123.7 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001045/6.835, allocations: 371.5 kB / 2.641 GB, free: 123.4 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008399/6.836, allocations: 0.5126 MB / 2.641 GB, free: 123.4 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001153/6.837, allocations: 1.281 MB / 2.642 GB, free: 122.5 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001098/6.838, allocations: 0.7413 MB / 2.643 GB, free: 122.4 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.111e-05/6.838, allocations: 4.25 kB / 2.643 GB, free: 122.4 MB / 0.9011 GB Notification: Performance of matching and sorting (n=181) (initialization): time 0.004358/6.843, allocations: 2.357 MB / 2.645 GB, free: 122.1 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.001129/6.844, allocations: 5.982 MB / 2.651 GB, free: 115.8 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.89e-05/6.844, allocations: 17.5 kB / 2.651 GB, free: 115.8 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001275/6.845, allocations: 0.508 MB / 2.652 GB, free: 115.8 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00137/6.846, allocations: 264.7 kB / 2.652 GB, free: 115.8 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001759/6.848, allocations: 1.894 MB / 2.654 GB, free: 114.7 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002913/6.851, allocations: 181.3 kB / 2.654 GB, free: 114.7 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001809/6.851, allocations: 74.61 kB / 2.654 GB, free: 114.7 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/6.851, allocations: 3.828 kB / 2.654 GB, free: 114.7 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003707/6.855, allocations: 2.122 MB / 2.656 GB, free: 114.5 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.68e-05/6.855, allocations: 15.03 kB / 2.656 GB, free: 114.5 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009569/6.856, allocations: 470.8 kB / 2.657 GB, free: 114.5 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001047/6.857, allocations: 259.7 kB / 2.657 GB, free: 114.5 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006458/6.864, allocations: 5.835 MB / 2.663 GB, free: 111.6 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002795/6.866, allocations: 182.8 kB / 2.663 GB, free: 111.6 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001704/6.867, allocations: 65.95 kB / 2.663 GB, free: 111.6 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 61 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,from_dp.y,allowFlowReversal.y) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 40,2 5} Notification: Performance of prepare postOptimizeDAE: time 0.0005066/6.867, allocations: 204.3 kB / 2.663 GB, free: 111.5 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005477/6.868, allocations: 291.5 kB / 2.663 GB, free: 111.4 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003995/6.872, allocations: 2.098 MB / 2.665 GB, free: 111.2 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.372e-05/6.872, allocations: 14.38 kB / 2.665 GB, free: 111.2 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/6.872, allocations: 3.562 kB / 2.665 GB, free: 111.2 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002236/6.874, allocations: 1.821 MB / 2.667 GB, free: 110.8 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007093/6.881, allocations: 4.056 MB / 2.671 GB, free: 110.3 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.302e-06/6.881, allocations: 0 / 2.671 GB, free: 110.3 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006444/6.882, allocations: 130.8 kB / 2.671 GB, free: 110.3 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009124/6.883, allocations: 474 kB / 2.672 GB, free: 110.2 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.983e-05/6.883, allocations: 29.25 kB / 2.672 GB, free: 110.2 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001229/6.884, allocations: 1.837 MB / 2.674 GB, free: 109.2 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/6.884, allocations: 3.281 kB / 2.674 GB, free: 109.2 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003787/6.888, allocations: 2.796 MB / 2.676 GB, free: 108.7 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001585/6.889, allocations: 498.2 kB / 2.677 GB, free: 108.5 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003477/6.89, allocations: 18.94 kB / 2.677 GB, free: 108.5 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001301/6.891, allocations: 144.2 kB / 2.677 GB, free: 108.5 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001527/6.891, allocations: 71.94 kB / 2.677 GB, free: 108.5 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.147e-05/6.891, allocations: 37.48 kB / 2.677 GB, free: 108.5 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.00251/6.894, allocations: 1.902 MB / 2.679 GB, free: 108.3 MB / 0.9011 GB Notification: Performance of sort global known variables: time 2.21e-07/6.894, allocations: 0 / 2.679 GB, free: 108.3 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.004838/6.899, allocations: 1.454 MB / 2.68 GB, free: 108.3 MB / 0.9011 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 5,1 40} Notification: Performance of Backend phase and start with SimCode phase: time 0.005117/6.904, allocations: 4.216 MB / 2.684 GB, free: 107.1 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.004426/6.908, allocations: 2.862 MB / 2.687 GB, free: 106.6 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/6.908, allocations: 0 / 2.687 GB, free: 106.6 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0009094/6.909, allocations: 0.6637 MB / 2.688 GB, free: 106.6 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005823/6.915, allocations: 1.19 MB / 2.689 GB, free: 106.6 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01024/6.925, allocations: 4.612 MB / 2.694 GB, free: 105.6 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001474/6.927, allocations: 2.093 MB / 2.696 GB, free: 104.9 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.005828/6.933, allocations: 1.589 MB / 2.697 GB, free: 104.8 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001452/6.934, allocations: 1.098 MB / 2.698 GB, free: 104.8 MB / 0.9011 GB Notification: Performance of SimCode: time 1.142e-06/6.934, allocations: 0 / 2.698 GB, free: 104.8 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1488/7.083, allocations: 90.18 MB / 2.786 GB, free: 100.8 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001625/7.083, allocations: 226 kB / 2.786 GB, free: 100.6 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.382/12.46, allocations: 0 / 2.786 GB, free: 100.6 MB / 0.9011 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v1.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v1.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v1.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_Example1v1_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_Example1v1.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v1.pipe 2>&1)