Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example8.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Fluid.Examples.Performance.Example8,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Examples_Performance_Example8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Examples.Performance.Example8,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Examples_Performance_Example8",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00109/0.00109, allocations: 106.1 kB / 16.27 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009998/0.0009999, allocations: 189.9 kB / 17.2 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.297/1.297, allocations: 222.9 MB / 240.9 MB, free: 15.3 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.763/0.763, allocations: 122.9 MB / 413.9 MB, free: 15.87 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001425/0.001425, allocations: 71.89 kB / 0.4912 GB, free: 7.348 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3683/0.3698, allocations: 77.91 MB / 0.5673 GB, free: 32.79 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.Example8): time 0.001564/0.3714, allocations: 0.5144 MB / 0.5678 GB, free: 32.48 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001024/0.3715, allocations: 13.62 kB / 0.5678 GB, free: 32.47 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.068e-05/0.3715, allocations: 1.25 kB / 0.5678 GB, free: 32.47 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.261e-05/0.3715, allocations: 0 / 0.5678 GB, free: 32.47 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001255/0.3717, allocations: 10.25 kB / 0.5678 GB, free: 32.46 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.657e-06/0.3717, allocations: 0.5625 kB / 0.5678 GB, free: 32.46 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.123e-05/0.3717, allocations: 8.641 kB / 0.5678 GB, free: 32.46 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.166e-05/0.3718, allocations: 2.875 kB / 0.5678 GB, free: 32.46 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.909e-05/0.3718, allocations: 2.844 kB / 0.5678 GB, free: 32.46 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.408e-05/0.3718, allocations: 6.875 kB / 0.5678 GB, free: 32.46 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.067e-05/0.3719, allocations: 0 / 0.5678 GB, free: 32.46 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.452e-06/0.3719, allocations: 0 / 0.5678 GB, free: 32.46 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.165e-05/0.3719, allocations: 1.781 kB / 0.5678 GB, free: 32.46 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.235e-05/0.3719, allocations: 0 / 0.5678 GB, free: 32.46 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 3.657e-05/0.3719, allocations: 10.56 kB / 0.5678 GB, free: 32.45 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.372, allocations: 1.156 kB / 0.5678 GB, free: 32.45 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.372, allocations: 0.5625 kB / 0.5678 GB, free: 32.45 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.434e-06/0.372, allocations: 0.9375 kB / 0.5678 GB, free: 32.45 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0001907/0.3722, allocations: 318.2 kB / 0.5681 GB, free: 32.09 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.612e-05/0.3722, allocations: 11.45 kB / 0.5681 GB, free: 32.09 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.3e-05/0.3722, allocations: 35.53 kB / 0.5682 GB, free: 32.05 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.001e-05/0.3723, allocations: 2.812 kB / 0.5682 GB, free: 32.05 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.39e-05/0.3723, allocations: 166.5 kB / 0.5683 GB, free: 31.85 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.869e-06/0.3723, allocations: 4.359 kB / 0.5683 GB, free: 31.85 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.663e-06/0.3724, allocations: 3.641 kB / 0.5684 GB, free: 31.85 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.797e-05/0.3724, allocations: 50 kB / 0.5684 GB, free: 31.79 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.3724, allocations: 5.281 kB / 0.5684 GB, free: 31.79 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.733e-06/0.3725, allocations: 0.7031 kB / 0.5684 GB, free: 31.79 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.997e-06/0.3725, allocations: 0.6562 kB / 0.5684 GB, free: 31.79 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.093e-05/0.3725, allocations: 3.938 kB / 0.5684 GB, free: 31.79 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.774e-05/0.3726, allocations: 155.9 kB / 0.5686 GB, free: 31.59 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.333e-05/0.3726, allocations: 39.53 kB / 0.5686 GB, free: 31.54 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.664e-05/0.3727, allocations: 12.94 kB / 0.5686 GB, free: 31.52 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.984e-05/0.3727, allocations: 2.875 kB / 0.5686 GB, free: 31.52 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.536e-05/0.3727, allocations: 40.3 kB / 0.5686 GB, free: 31.48 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.3727, allocations: 1.156 kB / 0.5687 GB, free: 31.48 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001153/0.3728, allocations: 42.22 kB / 0.5687 GB, free: 31.44 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.551e-05/0.3729, allocations: 83.19 kB / 0.5688 GB, free: 31.34 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.242e-05/0.3729, allocations: 97.17 kB / 0.5689 GB, free: 31.24 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.661e-06/0.3729, allocations: 26.61 kB / 0.5689 GB, free: 31.21 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.468e-06/0.3729, allocations: 80.14 kB / 0.569 GB, free: 31.13 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.044e-05/0.3729, allocations: 9.578 kB / 0.569 GB, free: 31.12 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.365e-05/0.373, allocations: 12.78 kB / 0.569 GB, free: 31.11 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.228e-05/0.373, allocations: 315.7 kB / 0.5693 GB, free: 30.79 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.558e-06/0.373, allocations: 3.594 kB / 0.5693 GB, free: 30.79 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.111e-05/0.3731, allocations: 13.47 kB / 0.5693 GB, free: 30.78 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.934e-05/0.3731, allocations: 16.02 kB / 0.5693 GB, free: 30.76 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.3731, allocations: 1.688 kB / 0.5693 GB, free: 30.76 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.325e-05/0.3732, allocations: 45.92 kB / 0.5694 GB, free: 30.72 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.3732, allocations: 14.7 kB / 0.5694 GB, free: 30.71 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.3732, allocations: 0 / 0.5694 GB, free: 30.71 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.006e-05/0.3732, allocations: 2.531 kB / 0.5694 GB, free: 30.71 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.852e-05/0.3733, allocations: 3.375 kB / 0.5694 GB, free: 30.71 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.71e-06/0.3733, allocations: 2.109 kB / 0.5694 GB, free: 30.71 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.736e-05/0.3733, allocations: 0.5 kB / 0.5694 GB, free: 30.71 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.47e-06/0.3733, allocations: 2.719 kB / 0.5694 GB, free: 30.71 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 3.995e-05/0.3733, allocations: 112.5 kB / 0.5695 GB, free: 30.6 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.987e-06/0.3734, allocations: 10.5 kB / 0.5695 GB, free: 30.59 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.966e-05/0.3735, allocations: 46.39 kB / 0.5695 GB, free: 30.55 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-06/0.3735, allocations: 0 / 0.5695 GB, free: 30.55 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.3735, allocations: 2.812 kB / 0.5696 GB, free: 30.55 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.3735, allocations: 1.828 kB / 0.5696 GB, free: 30.55 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.062e-05/0.3735, allocations: 154.1 kB / 0.5697 GB, free: 30.36 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.3735, allocations: 4 kB / 0.5697 GB, free: 30.36 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.166e-05/0.3736, allocations: 4.969 kB / 0.5697 GB, free: 30.36 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.806e-06/0.3736, allocations: 5 kB / 0.5697 GB, free: 30.35 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.062e-06/0.3736, allocations: 2.828 kB / 0.5697 GB, free: 30.35 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.3736, allocations: 0.8438 kB / 0.5697 GB, free: 30.35 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.3736, allocations: 1.094 kB / 0.5697 GB, free: 30.35 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.398e-05/0.3737, allocations: 67.36 kB / 0.5698 GB, free: 30.28 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.068e-05/0.3737, allocations: 80.92 kB / 0.5699 GB, free: 30.18 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.106e-05/0.3737, allocations: 6.219 kB / 0.5699 GB, free: 30.18 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.724e-05/0.3737, allocations: 1.219 kB / 0.5699 GB, free: 30.18 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.376e-05/0.3737, allocations: 10.06 kB / 0.5699 GB, free: 30.17 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.645e-06/0.3738, allocations: 2.719 kB / 0.5699 GB, free: 30.17 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.59e-05/0.3738, allocations: 77.02 kB / 0.57 GB, free: 30.1 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3738, allocations: 0.6562 kB / 0.57 GB, free: 30.1 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001906/0.374, allocations: 1.094 kB / 0.57 GB, free: 30.1 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001969/0.3742, allocations: 0.6051 MB / 0.5705 GB, free: 29.49 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 6.122e-05/0.3742, allocations: 15.92 kB / 0.5706 GB, free: 29.48 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.3743, allocations: 1.188 kB / 0.5706 GB, free: 29.48 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 9.968e-06/0.3743, allocations: 4.688 kB / 0.5706 GB, free: 29.48 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001335/0.3744, allocations: 8.672 kB / 0.5706 GB, free: 29.48 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002471/0.3747, allocations: 122.2 kB / 0.5707 GB, free: 29.33 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001001/0.3748, allocations: 0.6734 MB / 0.5713 GB, free: 28.64 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.872e-05/0.3748, allocations: 8.562 kB / 0.5714 GB, free: 28.63 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.303e-05/0.3748, allocations: 9.281 kB / 0.5714 GB, free: 28.62 MB / 446.1 MB Notification: Performance of SimCode: time 2.01e-07/0.3748, allocations: 0 / 0.5714 GB, free: 28.62 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01482/0.3897, allocations: 0.8961 MB / 0.5722 GB, free: 28.3 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.195/7.584, allocations: 10.48 kB / 0.5723 GB, free: 28.29 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example8.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example8.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example8.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example8.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example8_res.csv --start-time 0 --stop-time 50 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.02 IBPSA_latest_IBPSA_Fluid_Examples_Performance_Example8.fmu > IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example8.pipe 2>&1)