Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example2.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.Example2,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_Example2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example2,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_Example2",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.456/1.456, allocations: 251.5 MB / 266.7 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001046/0.001046, allocations: 170.7 kB / 325.9 MB, free: 2.645 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.585/1.585, allocations: 205 MB / 0.576 GB, free: 20.94 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.0007452/0.0007453, allocations: 92.33 kB / 0.6797 GB, free: 14.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003895/0.0003895, allocations: 8.438 kB / 0.7932 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1708/0.1712, allocations: 105.4 MB / 0.8962 GB, free: 68.03 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example2): time 0.01865/0.19, allocations: 29.25 MB / 0.9248 GB, free: 38.66 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01308/0.2031, allocations: 12.97 MB / 0.9374 GB, free: 25.66 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001505/0.2046, allocations: 35.75 kB / 0.9375 GB, free: 25.62 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001595/0.2062, allocations: 0.6025 MB / 0.938 GB, free: 25.02 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.002924/0.2092, allocations: 1.34 MB / 0.9394 GB, free: 23.68 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.002627/0.2118, allocations: 1.249 MB / 0.9406 GB, free: 22.43 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.00384/0.2157, allocations: 4.995 MB / 0.9455 GB, free: 17.43 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00122/0.2169, allocations: 1.11 MB / 0.9465 GB, free: 16.29 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001655/0.2186, allocations: 1.249 MB / 0.9478 GB, free: 15.04 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009125/0.2195, allocations: 1.042 MB / 0.9488 GB, free: 13.99 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0001158/0.2196, allocations: 52 kB / 0.9488 GB, free: 13.94 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001728/0.2213, allocations: 1.065 MB / 0.9499 GB, free: 12.87 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0002368/0.2216, allocations: 330.6 kB / 0.9502 GB, free: 12.55 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0005386/0.2221, allocations: 0.7108 MB / 0.9509 GB, free: 11.83 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.001792/0.2239, allocations: 2.363 MB / 0.9532 GB, free: 9.461 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.2239, allocations: 0 / 0.9532 GB, free: 9.461 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.583e-06/0.224, allocations: 0 / 0.9532 GB, free: 9.461 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.359e-05/0.224, allocations: 0 / 0.9532 GB, free: 9.461 MB / 0.6042 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.002245/0.2262, allocations: 1.698 MB / 0.9548 GB, free: 7.703 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.2263, allocations: 8.031 kB / 0.9548 GB, free: 7.695 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001194/0.2264, allocations: 130.7 kB / 0.955 GB, free: 7.559 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009165/0.2273, allocations: 250.8 kB / 0.9552 GB, free: 7.312 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001658/0.229, allocations: 1.319 MB / 0.9565 GB, free: 5.941 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.311e-05/0.229, allocations: 70 kB / 0.9566 GB, free: 5.871 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.94e-05/0.2292, allocations: 80 kB / 0.9566 GB, free: 5.793 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001385/0.2305, allocations: 1.033 MB / 0.9577 GB, free: 4.711 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.373e-05/0.2306, allocations: 4 kB / 0.9577 GB, free: 4.707 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.74e-05/0.2307, allocations: 32 kB / 0.9577 GB, free: 4.676 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.462e-05/0.2307, allocations: 23.98 kB / 0.9577 GB, free: 4.652 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001326/0.232, allocations: 0.7884 MB / 0.9585 GB, free: 3.859 MB / 0.6042 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.004543/0.2366, allocations: 5.14 MB / 0.9635 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001326/0.2379, allocations: 0.665 MB / 0.9641 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000687/0.2386, allocations: 358 kB / 0.9645 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002213/0.2408, allocations: 1.685 MB / 0.9661 GB, free: 11.51 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007682/0.2416, allocations: 383 kB / 0.9665 GB, free: 11.12 MB / 0.6198 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000332/0.2419, allocations: 103.4 kB / 0.9666 GB, free: 11.02 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=44): time 2.184e-06/0.242, allocations: 0 / 0.9666 GB, free: 11.02 MB / 0.6198 GB Notification: Performance of matching and sorting (n=44): time 0.003631/0.2456, allocations: 1.387 MB / 0.968 GB, free: 9.602 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.1e-05/0.2456, allocations: 55.41 kB / 0.968 GB, free: 9.535 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001627/0.2473, allocations: 1.325 MB / 0.9693 GB, free: 8.195 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5.32e-05/0.2473, allocations: 41.7 kB / 0.9693 GB, free: 8.148 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005175/0.2479, allocations: 0.6411 MB / 0.97 GB, free: 7.5 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001295/0.248, allocations: 153.8 kB / 0.9701 GB, free: 7.344 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.783e-05/0.2481, allocations: 61.69 kB / 0.9702 GB, free: 7.277 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001231/0.2482, allocations: 337.9 kB / 0.9705 GB, free: 6.941 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006689/0.2489, allocations: 309.7 kB / 0.9708 GB, free: 6.641 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009061/0.2498, allocations: 0.652 MB / 0.9714 GB, free: 5.832 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00149/0.2513, allocations: 0.8848 MB / 0.9723 GB, free: 4.832 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.045e-06/0.2513, allocations: 4 kB / 0.9723 GB, free: 4.828 MB / 0.6198 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002595/0.254, allocations: 1.219 MB / 0.9735 GB, free: 3.59 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002648/0.2542, allocations: 355.4 kB / 0.9738 GB, free: 3.129 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.555e-05/0.2543, allocations: 8 kB / 0.9738 GB, free: 3.121 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008725/0.2551, allocations: 252.6 kB / 0.9741 GB, free: 2.871 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000575/0.2557, allocations: 151.8 kB / 0.9742 GB, free: 2.723 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001061/0.2568, allocations: 0.8526 MB / 0.975 GB, free: 1.844 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00124/0.258, allocations: 100.5 kB / 0.9751 GB, free: 1.746 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001093/0.2582, allocations: 39.98 kB / 0.9752 GB, free: 1.707 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.2582, allocations: 4 kB / 0.9752 GB, free: 1.703 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001875/0.2601, allocations: 0.879 MB / 0.976 GB, free: 0.8164 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.186e-05/0.2601, allocations: 8 kB / 0.9761 GB, free: 0.8086 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003869/0.2605, allocations: 153.3 kB / 0.9762 GB, free: 0.6562 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004475/0.261, allocations: 135.8 kB / 0.9763 GB, free: 0.5234 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002755/0.2637, allocations: 2.337 MB / 0.9786 GB, free: 14.04 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001015/0.2648, allocations: 92.56 kB / 0.9787 GB, free: 13.95 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.859e-05/0.2649, allocations: 32 kB / 0.9787 GB, free: 13.91 MB / 0.6355 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.0007865/0.2656, allocations: 472.7 kB / 0.9792 GB, free: 13.44 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002537/0.2659, allocations: 134.3 kB / 0.9793 GB, free: 13.31 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002015/0.2679, allocations: 0.9508 MB / 0.9802 GB, free: 12.34 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.868e-06/0.268, allocations: 8 kB / 0.9802 GB, free: 12.34 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.964e-06/0.268, allocations: 4 kB / 0.9802 GB, free: 12.33 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001507/0.2695, allocations: 0.9545 MB / 0.9812 GB, free: 11.31 MB / 0.6355 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.003323/0.2728, allocations: 1.986 MB / 0.9831 GB, free: 9.234 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.469e-06/0.2728, allocations: 0 / 0.9831 GB, free: 9.234 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003935/0.2732, allocations: 83.86 kB / 0.9832 GB, free: 9.152 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003096/0.2735, allocations: 156.7 kB / 0.9833 GB, free: 8.996 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.402e-05/0.2736, allocations: 19.98 kB / 0.9834 GB, free: 8.977 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006876/0.2743, allocations: 0.8137 MB / 0.9842 GB, free: 8.137 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.2743, allocations: 3.938 kB / 0.9842 GB, free: 8.133 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002398/0.2767, allocations: 1.311 MB / 0.9854 GB, free: 6.793 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005065/0.2772, allocations: 271.3 kB / 0.9857 GB, free: 6.508 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002043/0.2774, allocations: 12 kB / 0.9857 GB, free: 6.496 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007741/0.2782, allocations: 75.98 kB / 0.9858 GB, free: 6.422 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001095/0.2784, allocations: 36.38 kB / 0.9858 GB, free: 6.387 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.658e-05/0.2784, allocations: 23.98 kB / 0.9858 GB, free: 6.363 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.001383/0.2798, allocations: 0.9167 MB / 0.9867 GB, free: 5.445 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2798, allocations: 0 / 0.9867 GB, free: 5.445 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.002201/0.282, allocations: 0.6823 MB / 0.9874 GB, free: 4.762 MB / 0.6355 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.003541/0.2856, allocations: 2.061 MB / 0.9894 GB, free: 2.672 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.003233/0.2888, allocations: 1.452 MB / 0.9908 GB, free: 1.184 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.2888, allocations: 0 / 0.9908 GB, free: 1.184 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0008255/0.2897, allocations: 363.5 kB / 0.9912 GB, free: 0.832 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00307/0.2928, allocations: 0.5811 MB / 0.9918 GB, free: 260 kB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02041/0.3132, allocations: 11.17 MB / 1.003 GB, free: 4.523 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00102/0.3142, allocations: 1.271 MB / 1.004 GB, free: 3.223 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.001302/0.3156, allocations: 302.5 kB / 1.004 GB, free: 2.922 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007473/0.3163, allocations: 0.4914 MB / 1.005 GB, free: 2.43 MB / 0.6511 GB Notification: Performance of SimCode: time 1.102e-06/0.3163, allocations: 4 kB / 1.005 GB, free: 2.426 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3041/0.6204, allocations: 35.99 MB / 1.04 GB, free: 14.83 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003232/0.6208, allocations: 282.9 kB / 1.04 GB, free: 14.45 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.972/3.593, allocations: 0 / 1.04 GB, free: 14.45 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example2.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example2.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example2.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_Example2_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_Example2.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example2.pipe 2>&1)