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.355/1.355, allocations: 251.9 MB / 266.9 MB, free: 10.97 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.001166/0.001166, allocations: 184.8 kB / 326.5 MB, free: 2.207 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.473/1.473, allocations: 205.4 MB / 0.5775 GB, free: 20.27 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.0008871/0.0008873, allocations: 94.3 kB / 0.6821 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003268/0.0003269, allocations: 11.19 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1532/0.1535, allocations: 106.3 MB / 0.9001 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example2): time 0.01858/0.1722, allocations: 24.92 MB / 0.9245 GB, free: 38.8 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01204/0.1842, allocations: 11.12 MB / 0.9353 GB, free: 27.67 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001141/0.1854, allocations: 35.75 kB / 0.9354 GB, free: 27.63 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001575/0.187, allocations: 0.5755 MB / 0.9359 GB, free: 27.05 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.00312/0.1902, allocations: 1.342 MB / 0.9372 GB, free: 25.71 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.005415/0.1956, allocations: 2.254 MB / 0.9394 GB, free: 23.48 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.002799/0.1984, allocations: 2.205 MB / 0.9416 GB, free: 21.27 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001108/0.1995, allocations: 1 MB / 0.9426 GB, free: 20.25 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001375/0.2009, allocations: 1.008 MB / 0.9436 GB, free: 19.24 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007128/0.2016, allocations: 0.6961 MB / 0.9442 GB, free: 18.54 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0001168/0.2018, allocations: 52 kB / 0.9443 GB, free: 18.49 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00132/0.2031, allocations: 0.7334 MB / 0.945 GB, free: 17.75 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0002226/0.2033, allocations: 298.9 kB / 0.9453 GB, free: 17.46 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0002522/0.2036, allocations: 320.9 kB / 0.9456 GB, free: 17.14 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0014/0.205, allocations: 1.73 MB / 0.9473 GB, free: 15.41 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.205, allocations: 0 / 0.9473 GB, free: 15.41 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.164e-06/0.205, allocations: 0 / 0.9473 GB, free: 15.41 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 2.135e-05/0.205, allocations: 3.938 kB / 0.9473 GB, free: 15.4 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.002531/0.2076, allocations: 1.69 MB / 0.9489 GB, free: 13.65 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.667e-05/0.2076, allocations: 12.03 kB / 0.9489 GB, free: 13.64 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001343/0.2078, allocations: 122.6 kB / 0.9491 GB, free: 13.51 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009516/0.2087, allocations: 253.9 kB / 0.9493 GB, free: 13.26 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00192/0.2107, allocations: 1.254 MB / 0.9505 GB, free: 11.95 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.689e-05/0.2107, allocations: 69.94 kB / 0.9506 GB, free: 11.88 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001119/0.2108, allocations: 87.86 kB / 0.9507 GB, free: 11.8 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001547/0.2124, allocations: 1.008 MB / 0.9517 GB, free: 10.74 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.192e-05/0.2124, allocations: 0 / 0.9517 GB, free: 10.74 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.559e-05/0.2125, allocations: 32 kB / 0.9517 GB, free: 10.71 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.387e-05/0.2125, allocations: 20 kB / 0.9517 GB, free: 10.69 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00146/0.214, allocations: 0.7805 MB / 0.9525 GB, free: 9.902 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.005062/0.2191, allocations: 4.995 MB / 0.9574 GB, free: 4.586 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001236/0.2203, allocations: 0.6422 MB / 0.958 GB, free: 3.938 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002397/0.2227, allocations: 1.874 MB / 0.9598 GB, free: 1.914 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007089/0.2235, allocations: 367 kB / 0.9602 GB, free: 1.543 MB / 0.6042 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003802/0.2239, allocations: 103.4 kB / 0.9603 GB, free: 1.441 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=44): time 3.176e-06/0.2239, allocations: 0 / 0.9603 GB, free: 1.441 MB / 0.6042 GB Notification: Performance of matching and sorting (n=44): time 0.003355/0.2272, allocations: 1.368 MB / 0.9616 GB, free: 44 kB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.443e-05/0.2273, allocations: 55.41 kB / 0.9616 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001686/0.229, allocations: 1.325 MB / 0.9629 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.212e-05/0.2291, allocations: 45.7 kB / 0.963 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005473/0.2297, allocations: 0.6333 MB / 0.9636 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001484/0.2298, allocations: 157.8 kB / 0.9638 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.572e-05/0.2299, allocations: 12 kB / 0.9638 GB, free: 13.78 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001234/0.23, allocations: 330 kB / 0.9641 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006509/0.2306, allocations: 265.8 kB / 0.9643 GB, free: 13.19 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009153/0.2316, allocations: 0.6091 MB / 0.9649 GB, free: 12.42 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000734/0.2323, allocations: 374.2 kB / 0.9653 GB, free: 12.05 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/0.2323, allocations: 0 / 0.9653 GB, free: 12.05 MB / 0.6198 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002556/0.2349, allocations: 1.137 MB / 0.9664 GB, free: 10.9 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.001031/0.2359, allocations: 3.135 MB / 0.9695 GB, free: 7.559 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.642e-05/0.236, allocations: 12 kB / 0.9695 GB, free: 7.547 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008585/0.2368, allocations: 216.5 kB / 0.9697 GB, free: 7.332 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006211/0.2375, allocations: 159.7 kB / 0.9698 GB, free: 7.176 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009085/0.2384, allocations: 0.8593 MB / 0.9707 GB, free: 6.293 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0011/0.2395, allocations: 92.58 kB / 0.9708 GB, free: 6.203 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.147e-05/0.2396, allocations: 43.98 kB / 0.9708 GB, free: 6.16 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 9.859e-06/0.2396, allocations: 4 kB / 0.9708 GB, free: 6.156 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001656/0.2413, allocations: 0.8601 MB / 0.9716 GB, free: 5.289 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.541e-05/0.2413, allocations: 8 kB / 0.9716 GB, free: 5.281 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003745/0.2417, allocations: 144.7 kB / 0.9718 GB, free: 5.137 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004864/0.2422, allocations: 139.7 kB / 0.9719 GB, free: 5 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002737/0.245, allocations: 2.387 MB / 0.9742 GB, free: 2.465 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001051/0.246, allocations: 80.55 kB / 0.9743 GB, free: 2.387 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.516e-05/0.2461, allocations: 39.98 kB / 0.9744 GB, free: 2.348 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.0007089/0.2469, allocations: 481.5 kB / 0.9748 GB, free: 1.867 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002975/0.2472, allocations: 126.4 kB / 0.9749 GB, free: 1.742 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002124/0.2493, allocations: 0.9347 MB / 0.9759 GB, free: 0.7969 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.099e-05/0.2493, allocations: 4 kB / 0.9759 GB, free: 0.793 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.274e-06/0.2493, allocations: 0 / 0.9759 GB, free: 0.793 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001578/0.2509, allocations: 0.9389 MB / 0.9768 GB, free: 15.79 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003566/0.2545, allocations: 1.97 MB / 0.9787 GB, free: 13.73 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.382e-06/0.2545, allocations: 8.062 kB / 0.9787 GB, free: 13.72 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000445/0.255, allocations: 87.81 kB / 0.9788 GB, free: 13.64 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003386/0.2553, allocations: 152.6 kB / 0.9789 GB, free: 13.48 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.445e-05/0.2554, allocations: 23.94 kB / 0.979 GB, free: 13.46 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006695/0.2561, allocations: 0.8059 MB / 0.9797 GB, free: 12.63 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.2561, allocations: 128 / 0.9797 GB, free: 12.63 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002497/0.2586, allocations: 1.315 MB / 0.981 GB, free: 11.27 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005956/0.2592, allocations: 287.4 kB / 0.9813 GB, free: 10.97 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002081/0.2594, allocations: 16.05 kB / 0.9813 GB, free: 10.95 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008129/0.2602, allocations: 83.77 kB / 0.9814 GB, free: 10.87 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.138e-05/0.2603, allocations: 44.27 kB / 0.9814 GB, free: 10.83 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.37e-05/0.2604, allocations: 23.98 kB / 0.9815 GB, free: 10.8 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.001319/0.2617, allocations: 0.9167 MB / 0.9824 GB, free: 9.887 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.8e-07/0.2617, allocations: 4 kB / 0.9824 GB, free: 9.883 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001936/0.2637, allocations: 0.6862 MB / 0.983 GB, free: 9.195 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.003454/0.2671, allocations: 2.207 MB / 0.9852 GB, free: 6.945 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.003098/0.2703, allocations: 1.394 MB / 0.9866 GB, free: 5.516 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.2703, allocations: 256 / 0.9866 GB, free: 5.516 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0008427/0.2711, allocations: 346.4 kB / 0.9869 GB, free: 5.18 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002626/0.2738, allocations: 0.5823 MB / 0.9875 GB, free: 4.598 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008156/0.282, allocations: 8.948 MB / 0.9962 GB, free: 11.44 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001041/0.283, allocations: 1.295 MB / 0.9975 GB, free: 10.11 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.001366/0.2844, allocations: 310.5 kB / 0.9977 GB, free: 9.805 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007398/0.2852, allocations: 0.5031 MB / 0.9982 GB, free: 9.301 MB / 0.6511 GB Notification: Performance of SimCode: time 6.62e-07/0.2852, allocations: 0 / 0.9982 GB, free: 9.301 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06309/0.3483, allocations: 37.18 MB / 1.035 GB, free: 4.512 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001995/0.3485, allocations: 247.9 kB / 1.035 GB, free: 4.184 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.966/3.314, allocations: 4.062 kB / 1.035 GB, free: 4.18 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)