Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example3.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.Example3,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_Example3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example3,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_Example3",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.45/1.45, allocations: 252 MB / 267 MB, free: 10.98 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.0009916/0.0009916, allocations: 178.1 kB / 326.6 MB, free: 2.238 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.447/1.447, allocations: 205.4 MB / 0.5777 GB, free: 20.58 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.0007482/0.0007483, allocations: 89.31 kB / 0.6823 GB, free: 13.33 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004401/0.0004402, allocations: 13.44 kB / 0.7965 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2367/0.2371, allocations: 106.4 MB / 0.9003 GB, free: 64.21 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example3): time 0.03055/0.2677, allocations: 30.16 MB / 0.9298 GB, free: 33.95 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01321/0.281, allocations: 12.25 MB / 0.9417 GB, free: 21.68 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001121/0.2821, allocations: 39.75 kB / 0.9418 GB, free: 21.64 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001347/0.2835, allocations: 497 kB / 0.9422 GB, free: 21.16 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.002558/0.2861, allocations: 1.286 MB / 0.9435 GB, free: 19.87 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.002242/0.2883, allocations: 1.064 MB / 0.9445 GB, free: 18.81 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.003686/0.292, allocations: 5.491 MB / 0.9499 GB, free: 13.3 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001538/0.2936, allocations: 1.599 MB / 0.9515 GB, free: 11.68 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001889/0.2955, allocations: 1.56 MB / 0.953 GB, free: 10.11 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001152/0.2966, allocations: 1.287 MB / 0.9542 GB, free: 8.82 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0001503/0.2968, allocations: 72 kB / 0.9543 GB, free: 8.75 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001524/0.2983, allocations: 0.8893 MB / 0.9552 GB, free: 7.859 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0002732/0.2986, allocations: 378.3 kB / 0.9555 GB, free: 7.488 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0003423/0.299, allocations: 396.7 kB / 0.9559 GB, free: 7.094 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.001609/0.3006, allocations: 2.167 MB / 0.958 GB, free: 4.922 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.3006, allocations: 0 / 0.958 GB, free: 4.922 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.132e-06/0.3006, allocations: 3.938 kB / 0.958 GB, free: 4.918 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 2.176e-05/0.3006, allocations: 0 / 0.958 GB, free: 4.918 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: 235 * Number of variables: 235 Notification: Performance of Generate backend data structure: time 0.002778/0.3034, allocations: 2.089 MB / 0.9601 GB, free: 2.762 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.522e-05/0.3035, allocations: 16.02 kB / 0.9601 GB, free: 2.746 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001494/0.3036, allocations: 143.8 kB / 0.9602 GB, free: 2.598 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001035/0.3047, allocations: 313.2 kB / 0.9605 GB, free: 2.289 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002166/0.3068, allocations: 1.567 MB / 0.9621 GB, free: 0.6758 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.905e-05/0.3069, allocations: 81.94 kB / 0.9621 GB, free: 0.5938 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001293/0.307, allocations: 104 kB / 0.9622 GB, free: 0.4922 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002068/0.3091, allocations: 1.338 MB / 0.9635 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.399e-05/0.3092, allocations: 7.906 kB / 0.9636 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.786e-05/0.3093, allocations: 36 kB / 0.9636 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.884e-05/0.3093, allocations: 24 kB / 0.9636 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002127/0.3114, allocations: 1.065 MB / 0.9646 GB, free: 13.94 MB / 0.6198 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.007707/0.3191, allocations: 6.971 MB / 0.9715 GB, free: 6.473 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001529/0.3207, allocations: 0.6723 MB / 0.9721 GB, free: 5.789 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008423/0.3215, allocations: 435 kB / 0.9725 GB, free: 5.363 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002899/0.3245, allocations: 1.831 MB / 0.9743 GB, free: 3.395 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008582/0.3253, allocations: 408.8 kB / 0.9747 GB, free: 2.984 MB / 0.6198 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005342/0.3259, allocations: 115.2 kB / 0.9748 GB, free: 2.871 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=46): time 2.805e-06/0.3259, allocations: 4 kB / 0.9748 GB, free: 2.867 MB / 0.6198 GB Notification: Performance of matching and sorting (n=46): time 0.004326/0.3302, allocations: 1.52 MB / 0.9763 GB, free: 1.316 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.218e-05/0.3303, allocations: 63.39 kB / 0.9764 GB, free: 1.242 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002293/0.3326, allocations: 1.843 MB / 0.9782 GB, free: 15.35 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.709e-05/0.3327, allocations: 41.7 kB / 0.9782 GB, free: 15.3 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007138/0.3334, allocations: 0.8463 MB / 0.979 GB, free: 14.45 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001485/0.3335, allocations: 165.8 kB / 0.9792 GB, free: 14.29 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.162e-05/0.3336, allocations: 16 kB / 0.9792 GB, free: 14.27 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001242/0.3337, allocations: 337.9 kB / 0.9795 GB, free: 13.94 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000732/0.3345, allocations: 321.8 kB / 0.9798 GB, free: 13.62 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001023/0.3355, allocations: 0.78 MB / 0.9806 GB, free: 12.63 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008688/0.3364, allocations: 454.3 kB / 0.981 GB, free: 12.18 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.923e-06/0.3364, allocations: 4 kB / 0.981 GB, free: 12.18 MB / 0.6355 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.00291/0.3393, allocations: 1.355 MB / 0.9824 GB, free: 10.8 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002602/0.3396, allocations: 423.4 kB / 0.9828 GB, free: 10.24 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.519e-05/0.3396, allocations: 12 kB / 0.9828 GB, free: 10.23 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009006/0.3405, allocations: 224.5 kB / 0.983 GB, free: 10.01 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000682/0.3412, allocations: 171.7 kB / 0.9831 GB, free: 9.84 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008009/0.342, allocations: 0.8406 MB / 0.984 GB, free: 8.977 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001254/0.3433, allocations: 124.4 kB / 0.9841 GB, free: 8.855 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.444e-05/0.3434, allocations: 43.98 kB / 0.9841 GB, free: 8.812 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 7.524e-06/0.3434, allocations: 8 kB / 0.9841 GB, free: 8.805 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001884/0.3453, allocations: 1.04 MB / 0.9852 GB, free: 7.754 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.143e-05/0.3453, allocations: 11.94 kB / 0.9852 GB, free: 7.742 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003977/0.3457, allocations: 160.7 kB / 0.9853 GB, free: 7.582 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005727/0.3463, allocations: 163.8 kB / 0.9855 GB, free: 7.422 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00258/0.3489, allocations: 2.354 MB / 0.9878 GB, free: 4.938 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001102/0.35, allocations: 104.5 kB / 0.9879 GB, free: 4.836 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.764e-05/0.3501, allocations: 48 kB / 0.9879 GB, free: 4.789 MB / 0.6355 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 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,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 (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 {1 12} Notification: Performance of prepare postOptimizeDAE: time 0.0007967/0.3509, allocations: 0.5841 MB / 0.9885 GB, free: 4.195 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002044/0.3511, allocations: 177.8 kB / 0.9887 GB, free: 4.02 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002227/0.3533, allocations: 1.074 MB / 0.9897 GB, free: 2.938 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-05/0.3534, allocations: 15.94 kB / 0.9897 GB, free: 2.922 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.704e-06/0.3534, allocations: 4 kB / 0.9897 GB, free: 2.918 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00174/0.3551, allocations: 1.011 MB / 0.9907 GB, free: 1.832 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.003744/0.3589, allocations: 2.308 MB / 0.993 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.582e-06/0.3589, allocations: 7.938 kB / 0.993 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004902/0.3594, allocations: 91.92 kB / 0.9931 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003666/0.3598, allocations: 148.7 kB / 0.9932 GB, free: 15.19 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.2e-05/0.3598, allocations: 19.94 kB / 0.9932 GB, free: 15.17 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006551/0.3605, allocations: 0.8115 MB / 0.994 GB, free: 14.33 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.3605, allocations: 0 / 0.994 GB, free: 14.33 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002697/0.3632, allocations: 1.483 MB / 0.9955 GB, free: 12.82 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005189/0.3637, allocations: 346.8 kB / 0.9958 GB, free: 12.46 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001659/0.3639, allocations: 12 kB / 0.9958 GB, free: 12.45 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009469/0.3649, allocations: 99.86 kB / 0.9959 GB, free: 12.35 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.427e-05/0.365, allocations: 36.38 kB / 0.9959 GB, free: 12.32 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.579e-05/0.365, allocations: 27.94 kB / 0.996 GB, free: 12.29 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.001644/0.3667, allocations: 1.278 MB / 0.9972 GB, free: 10.99 MB / 0.6511 GB Notification: Performance of sort global known variables: time 2.3e-07/0.3667, allocations: 0 / 0.9972 GB, free: 10.99 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.002102/0.3688, allocations: 0.8462 MB / 0.998 GB, free: 10.14 MB / 0.6511 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 (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 {1 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.003506/0.3723, allocations: 2.227 MB / 1 GB, free: 7.883 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002841/0.3752, allocations: 1.531 MB / 1.002 GB, free: 6.312 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.3752, allocations: 0 / 1.002 GB, free: 6.312 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0008395/0.376, allocations: 371.6 kB / 1.002 GB, free: 5.949 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003697/0.3797, allocations: 0.8495 MB / 1.003 GB, free: 5.102 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01935/0.3991, allocations: 11.32 MB / 1.014 GB, free: 9.066 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001089/0.4002, allocations: 1.487 MB / 1.015 GB, free: 7.551 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.001569/0.4018, allocations: 434 kB / 1.016 GB, free: 7.121 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008085/0.4026, allocations: 0.6555 MB / 1.016 GB, free: 6.465 MB / 0.6667 GB Notification: Performance of SimCode: time 7.11e-07/0.4026, allocations: 4 kB / 1.016 GB, free: 6.461 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3572/0.7598, allocations: 48.62 MB / 1.064 GB, free: 145.2 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001413/0.76, allocations: 260.9 kB / 1.064 GB, free: 144.8 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.185/3.945, allocations: 0 / 1.064 GB, free: 144.8 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example3.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example3.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example3.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_Example3_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_Example3.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example3.pipe 2>&1)