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.346/1.346, allocations: 252 MB / 267 MB, free: 10.93 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.001145/0.001145, allocations: 178.1 kB / 326.6 MB, free: 2.195 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.452/1.452, allocations: 205.4 MB / 0.5776 GB, free: 20.5 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.0007745/0.0007743, allocations: 87.73 kB / 0.6823 GB, free: 13.31 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003024/0.0003024, allocations: 14.28 kB / 0.7964 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1584/0.1587, allocations: 106.4 MB / 0.9003 GB, free: 64.16 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example2): time 0.0197/0.1784, allocations: 27.28 MB / 0.9269 GB, free: 36.8 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01247/0.191, allocations: 11.73 MB / 0.9384 GB, free: 25.05 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001255/0.1922, allocations: 35.75 kB / 0.9384 GB, free: 25.01 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001481/0.1937, allocations: 469.2 kB / 0.9389 GB, free: 24.55 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.002729/0.1965, allocations: 1.185 MB / 0.94 GB, free: 23.36 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.00232/0.1988, allocations: 1.048 MB / 0.9411 GB, free: 22.32 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.003305/0.2021, allocations: 4.274 MB / 0.9452 GB, free: 18.04 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001279/0.2034, allocations: 0.9883 MB / 0.9462 GB, free: 17.03 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00168/0.2051, allocations: 1.218 MB / 0.9474 GB, free: 15.8 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001139/0.2063, allocations: 0.9762 MB / 0.9483 GB, free: 14.82 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.000205/0.2065, allocations: 52 kB / 0.9484 GB, free: 14.77 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001517/0.208, allocations: 0.8736 MB / 0.9492 GB, free: 13.9 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0002853/0.2083, allocations: 318.7 kB / 0.9495 GB, free: 13.59 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0003309/0.2087, allocations: 316.9 kB / 0.9499 GB, free: 13.27 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.001438/0.2101, allocations: 1.789 MB / 0.9516 GB, free: 11.48 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.2101, allocations: 0 / 0.9516 GB, free: 11.48 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.262e-06/0.2101, allocations: 0 / 0.9516 GB, free: 11.48 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.189e-05/0.2102, allocations: 0 / 0.9516 GB, free: 11.48 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.00257/0.2127, allocations: 1.715 MB / 0.9533 GB, free: 9.699 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.397e-05/0.2128, allocations: 12.03 kB / 0.9533 GB, free: 9.688 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001382/0.2129, allocations: 118.6 kB / 0.9534 GB, free: 9.562 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009371/0.2139, allocations: 257.9 kB / 0.9536 GB, free: 9.309 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00179/0.2157, allocations: 1.265 MB / 0.9549 GB, free: 7.992 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.481e-05/0.2157, allocations: 65.98 kB / 0.9549 GB, free: 7.926 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000107/0.2158, allocations: 91.95 kB / 0.955 GB, free: 7.836 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001478/0.2173, allocations: 1.023 MB / 0.956 GB, free: 6.762 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.956e-05/0.2174, allocations: 0 / 0.956 GB, free: 6.762 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.381e-05/0.2174, allocations: 35.94 kB / 0.9561 GB, free: 6.727 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.229e-05/0.2175, allocations: 20 kB / 0.9561 GB, free: 6.707 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00147/0.2189, allocations: 0.7883 MB / 0.9569 GB, free: 5.914 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.00449/0.2234, allocations: 5.132 MB / 0.9619 GB, free: 440 kB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001313/0.2248, allocations: 0.6481 MB / 0.9625 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007237/0.2255, allocations: 354 kB / 0.9628 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002143/0.2277, allocations: 1.682 MB / 0.9645 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007833/0.2285, allocations: 375 kB / 0.9648 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003579/0.2288, allocations: 111.3 kB / 0.9649 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=44): time 2.164e-06/0.2288, allocations: 3.938 kB / 0.9649 GB, free: 13.1 MB / 0.6198 GB Notification: Performance of matching and sorting (n=44): time 0.003831/0.2327, allocations: 1.376 MB / 0.9663 GB, free: 11.7 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.706e-05/0.2327, allocations: 63.34 kB / 0.9663 GB, free: 11.62 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001554/0.2343, allocations: 1.301 MB / 0.9676 GB, free: 10.3 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.626e-05/0.2344, allocations: 45.69 kB / 0.9677 GB, free: 10.25 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005032/0.2349, allocations: 0.6449 MB / 0.9683 GB, free: 9.602 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001261/0.235, allocations: 149.8 kB / 0.9684 GB, free: 9.453 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.683e-05/0.2351, allocations: 16 kB / 0.9684 GB, free: 9.438 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001026/0.2352, allocations: 330 kB / 0.9688 GB, free: 9.109 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006572/0.2359, allocations: 273.8 kB / 0.969 GB, free: 8.844 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008564/0.2367, allocations: 0.6169 MB / 0.9696 GB, free: 8.066 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007334/0.2375, allocations: 382.2 kB / 0.97 GB, free: 7.691 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.001e-06/0.2375, allocations: 4 kB / 0.97 GB, free: 7.688 MB / 0.6198 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002527/0.24, allocations: 1.145 MB / 0.9711 GB, free: 6.52 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001987/0.2402, allocations: 355.4 kB / 0.9715 GB, free: 6.059 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.235e-05/0.2403, allocations: 8 kB / 0.9715 GB, free: 6.051 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008491/0.2411, allocations: 216.6 kB / 0.9717 GB, free: 5.836 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005939/0.2417, allocations: 155.7 kB / 0.9718 GB, free: 5.684 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009011/0.2426, allocations: 0.8682 MB / 0.9727 GB, free: 4.789 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009754/0.2436, allocations: 96.48 kB / 0.9728 GB, free: 4.695 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.141e-05/0.2437, allocations: 36.11 kB / 0.9728 GB, free: 4.66 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 8.216e-06/0.2437, allocations: 6.969 kB / 0.9728 GB, free: 4.656 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001619/0.2454, allocations: 0.8792 MB / 0.9737 GB, free: 3.766 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.2454, allocations: 8 kB / 0.9737 GB, free: 3.758 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003621/0.2457, allocations: 145.1 kB / 0.9738 GB, free: 3.613 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004798/0.2462, allocations: 135.8 kB / 0.9739 GB, free: 3.48 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002448/0.2487, allocations: 2.342 MB / 0.9762 GB, free: 0.9883 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008392/0.2496, allocations: 88.48 kB / 0.9763 GB, free: 0.9023 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.14e-05/0.2496, allocations: 39.98 kB / 0.9763 GB, free: 0.8633 MB / 0.6198 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.0006331/0.2503, allocations: 476.7 kB / 0.9768 GB, free: 396 kB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001439/0.2504, allocations: 126.4 kB / 0.9769 GB, free: 268 kB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002053/0.2525, allocations: 0.9465 MB / 0.9778 GB, free: 15.31 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.018e-05/0.2525, allocations: 7.984 kB / 0.9778 GB, free: 15.3 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.2525, allocations: 0 / 0.9778 GB, free: 15.3 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001572/0.2541, allocations: 0.9545 MB / 0.9788 GB, free: 14.27 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.003228/0.2573, allocations: 1.978 MB / 0.9807 GB, free: 12.21 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.117e-06/0.2573, allocations: 0 / 0.9807 GB, free: 12.21 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004463/0.2578, allocations: 87.88 kB / 0.9808 GB, free: 12.12 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003168/0.2581, allocations: 144.7 kB / 0.9809 GB, free: 11.98 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.807e-05/0.2582, allocations: 24 kB / 0.981 GB, free: 11.96 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006871/0.2589, allocations: 0.8214 MB / 0.9818 GB, free: 11.11 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/0.2589, allocations: 0 / 0.9818 GB, free: 11.11 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002449/0.2613, allocations: 1.303 MB / 0.983 GB, free: 9.781 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004773/0.2618, allocations: 287.3 kB / 0.9833 GB, free: 9.48 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001313/0.262, allocations: 8 kB / 0.9833 GB, free: 9.473 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007552/0.2627, allocations: 83.98 kB / 0.9834 GB, free: 9.391 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.758e-05/0.2628, allocations: 40.36 kB / 0.9834 GB, free: 9.352 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.039e-05/0.2629, allocations: 23.98 kB / 0.9835 GB, free: 9.328 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.001142/0.264, allocations: 0.9049 MB / 0.9843 GB, free: 8.422 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.453e-06/0.264, allocations: 0 / 0.9843 GB, free: 8.422 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001726/0.2658, allocations: 0.6785 MB / 0.985 GB, free: 7.742 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 (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.003161/0.2689, allocations: 2.04 MB / 0.987 GB, free: 5.668 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002985/0.2719, allocations: 1.421 MB / 0.9884 GB, free: 4.211 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.272, allocations: 0 / 0.9884 GB, free: 4.211 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0008346/0.2728, allocations: 370.5 kB / 0.9887 GB, free: 3.852 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002676/0.2755, allocations: 0.5856 MB / 0.9893 GB, free: 3.27 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01413/0.2896, allocations: 8.298 MB / 0.9974 GB, free: 10.56 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007599/0.2904, allocations: 1.275 MB / 0.9987 GB, free: 9.254 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.001128/0.2916, allocations: 298.6 kB / 0.9989 GB, free: 8.957 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006003/0.2922, allocations: 0.4914 MB / 0.9994 GB, free: 8.465 MB / 0.6511 GB Notification: Performance of SimCode: time 6.71e-07/0.2922, allocations: 0 / 0.9994 GB, free: 8.465 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05609/0.3483, allocations: 37.63 MB / 1.036 GB, free: 3.246 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001854/0.3485, allocations: 261.2 kB / 1.036 GB, free: 2.887 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.924/3.273, allocations: 0 / 1.036 GB, free: 2.887 MB / 0.6823 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)