Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Examples.Performance.Example5,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Examples_Performance_Example5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Examples.Performance.Example5,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Examples_Performance_Example5",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.004403/0.004403, allocations: 98.05 kB / 15.73 MB, free: 6.004 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.001165/0.001165, allocations: 197.5 kB / 16.67 MB, free: 5.922 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.326/1.326, allocations: 222.9 MB / 240.4 MB, free: 4.152 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002358/0.002358, allocations: 283 kB / 290.8 MB, free: 1.762 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9523/0.9523, allocations: 169.3 MB / 0.4983 GB, free: 13.77 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002532/0.002532, allocations: 96.91 kB / 0.681 GB, free: 15.99 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1453/0.1479, allocations: 86.97 MB / 0.7659 GB, free: 8.949 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.Performance.Example5): time 0.001453/0.1494, allocations: 0.5245 MB / 0.7664 GB, free: 8.426 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0001643/0.1495, allocations: 47.86 kB / 0.7664 GB, free: 8.379 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.043e-05/0.1496, allocations: 3.938 kB / 0.7665 GB, free: 8.375 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.449e-05/0.1496, allocations: 3.938 kB / 0.7665 GB, free: 8.371 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001168/0.1497, allocations: 0 / 0.7665 GB, free: 8.371 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 4.346e-05/0.1498, allocations: 7.938 kB / 0.7665 GB, free: 8.363 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 5.852e-05/0.1499, allocations: 11.98 kB / 0.7665 GB, free: 8.352 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.772e-05/0.1499, allocations: 4 kB / 0.7665 GB, free: 8.348 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.748e-05/0.1499, allocations: 3.984 kB / 0.7665 GB, free: 8.344 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.736e-05/0.15, allocations: 11.92 kB / 0.7665 GB, free: 8.332 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.42e-05/0.15, allocations: 4 kB / 0.7665 GB, free: 8.328 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 7.404e-06/0.1501, allocations: 4 kB / 0.7665 GB, free: 8.324 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.692e-05/0.1501, allocations: 4 kB / 0.7665 GB, free: 8.32 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.815e-05/0.1501, allocations: 7.938 kB / 0.7665 GB, free: 8.312 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 5.267e-05/0.1502, allocations: 8.266 kB / 0.7665 GB, free: 8.305 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.1502, allocations: 0 / 0.7665 GB, free: 8.305 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.212e-06/0.1502, allocations: 3.938 kB / 0.7665 GB, free: 8.301 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.436e-06/0.1502, allocations: 0 / 0.7665 GB, free: 8.301 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004099/0.1506, allocations: 335.4 kB / 0.7668 GB, free: 7.922 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.204e-05/0.1507, allocations: 15.97 kB / 0.7669 GB, free: 7.906 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.01e-05/0.1507, allocations: 30.75 kB / 0.7669 GB, free: 7.867 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.233e-05/0.1507, allocations: 4.891 kB / 0.7669 GB, free: 7.863 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001715/0.1509, allocations: 176.4 kB / 0.7671 GB, free: 7.652 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.004e-05/0.1509, allocations: 384 / 0.7671 GB, free: 7.652 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.592e-05/0.1509, allocations: 4.312 kB / 0.7671 GB, free: 7.648 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.73e-05/0.151, allocations: 38.25 kB / 0.7671 GB, free: 7.605 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.1511, allocations: 3.938 kB / 0.7671 GB, free: 7.602 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.172e-06/0.1511, allocations: 0 / 0.7671 GB, free: 7.602 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/0.1511, allocations: 0 / 0.7671 GB, free: 7.602 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.964e-05/0.1511, allocations: 11.94 kB / 0.7671 GB, free: 7.59 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001471/0.1512, allocations: 153.7 kB / 0.7673 GB, free: 7.391 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 4.621e-05/0.1513, allocations: 22.56 kB / 0.7673 GB, free: 7.359 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.866e-05/0.1513, allocations: 8.844 kB / 0.7673 GB, free: 7.348 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.431e-05/0.1513, allocations: 4.062 kB / 0.7673 GB, free: 7.344 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.934e-05/0.1514, allocations: 30.56 kB / 0.7673 GB, free: 7.305 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 8.92e-07/0.1514, allocations: 4 kB / 0.7673 GB, free: 7.301 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.0001252/0.1515, allocations: 49.52 kB / 0.7674 GB, free: 7.246 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.4e-05/0.1516, allocations: 51.41 kB / 0.7674 GB, free: 7.184 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.184e-05/0.1517, allocations: 113.8 kB / 0.7675 GB, free: 7.062 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.615e-05/0.1517, allocations: 29.69 kB / 0.7676 GB, free: 7.027 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.073e-05/0.1517, allocations: 84.14 kB / 0.7676 GB, free: 6.941 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.443e-05/0.1517, allocations: 0 / 0.7676 GB, free: 6.941 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.005e-05/0.1518, allocations: 13.72 kB / 0.7677 GB, free: 6.922 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001237/0.1519, allocations: 319 kB / 0.768 GB, free: 6.602 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.508e-05/0.1519, allocations: 3.984 kB / 0.768 GB, free: 6.598 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.368e-05/0.152, allocations: 13.72 kB / 0.768 GB, free: 6.578 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.146e-05/0.152, allocations: 29.64 kB / 0.768 GB, free: 6.543 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.152, allocations: 0 / 0.768 GB, free: 6.543 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.474e-05/0.1521, allocations: 53.7 kB / 0.7681 GB, free: 6.484 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.1521, allocations: 11.94 kB / 0.7681 GB, free: 6.473 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.1521, allocations: 0 / 0.7681 GB, free: 6.473 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.113e-05/0.1521, allocations: 0 / 0.7681 GB, free: 6.473 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.515e-05/0.1522, allocations: 4.25 kB / 0.7681 GB, free: 6.469 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.648e-06/0.1522, allocations: 7.922 kB / 0.7681 GB, free: 6.461 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.256e-05/0.1522, allocations: 4 kB / 0.7681 GB, free: 6.457 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.279e-06/0.1522, allocations: 4 kB / 0.7681 GB, free: 6.453 MB / 0.5606 GB 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 7.101e-05/0.1523, allocations: 110.5 kB / 0.7682 GB, free: 6.336 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.218e-05/0.1523, allocations: 12 kB / 0.7682 GB, free: 6.324 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.785e-05/0.1524, allocations: 45.22 kB / 0.7682 GB, free: 6.273 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.1524, allocations: 0 / 0.7682 GB, free: 6.273 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.975e-06/0.1524, allocations: 7.938 kB / 0.7683 GB, free: 6.266 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.903e-06/0.1525, allocations: 3.938 kB / 0.7683 GB, free: 6.262 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001168/0.1526, allocations: 153.7 kB / 0.7684 GB, free: 6.062 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.1526, allocations: 0 / 0.7684 GB, free: 6.062 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.553e-05/0.1526, allocations: 7.984 kB / 0.7684 GB, free: 6.055 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/0.1526, allocations: 3.938 kB / 0.7684 GB, free: 6.051 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.422e-06/0.1527, allocations: 0 / 0.7684 GB, free: 6.051 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.1527, allocations: 7.969 kB / 0.7684 GB, free: 6.043 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.1527, allocations: 0 / 0.7684 GB, free: 6.043 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001155/0.1528, allocations: 77.08 kB / 0.7685 GB, free: 5.949 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.739e-05/0.1528, allocations: 81.09 kB / 0.7686 GB, free: 5.852 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.455e-05/0.1529, allocations: 7.969 kB / 0.7686 GB, free: 5.844 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.946e-05/0.1529, allocations: 0 / 0.7686 GB, free: 5.844 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.177e-05/0.1529, allocations: 4 kB / 0.7686 GB, free: 5.84 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.575e-06/0.1529, allocations: 4.094 kB / 0.7686 GB, free: 5.836 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.13e-05/0.153, allocations: 87.27 kB / 0.7687 GB, free: 5.75 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.153, allocations: 0 / 0.7687 GB, free: 5.75 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001722/0.1531, allocations: 8 kB / 0.7687 GB, free: 5.742 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c) * 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.0003866/0.1535, allocations: 0.6086 MB / 0.7693 GB, free: 5.105 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 7.33e-05/0.1536, allocations: 19.98 kB / 0.7693 GB, free: 5.086 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.1536, allocations: 0 / 0.7693 GB, free: 5.086 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.799e-05/0.1537, allocations: 11.94 kB / 0.7693 GB, free: 5.074 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000123/0.1538, allocations: 0 / 0.7693 GB, free: 5.074 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009488/0.1547, allocations: 1.147 MB / 0.7704 GB, free: 3.84 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002802/0.155, allocations: 0.6807 MB / 0.7711 GB, free: 3.133 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 1.671e-05/0.155, allocations: 4 kB / 0.7711 GB, free: 3.129 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.908e-05/0.1551, allocations: 19.42 kB / 0.7711 GB, free: 3.109 MB / 0.5606 GB Notification: Performance of SimCode: time 2.4e-07/0.1551, allocations: 0 / 0.7711 GB, free: 3.109 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02305/0.1781, allocations: 1.21 MB / 0.7723 GB, free: 2 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.332/7.51, allocations: 19.91 kB / 0.7723 GB, free: 1.984 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5_res.csv --start-time 0 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.008 BuildingSystems_BuildingSystems_Fluid_Examples_Performance_Example5.fmu > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.pipe 2>&1)