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.004878/0.004877, allocations: 101.3 kB / 15.73 MB, free: 6.469 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.001154/0.001154, allocations: 193.5 kB / 16.67 MB, free: 6.379 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.273/1.273, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002097/0.002097, allocations: 274.6 kB / 290.8 MB, free: 1.938 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9339/0.9339, allocations: 169.3 MB / 0.4983 GB, free: 13.79 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001692/0.001692, allocations: 99.78 kB / 0.6809 GB, free: 28 kB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1469/0.1486, allocations: 86.98 MB / 0.7659 GB, free: 8.965 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.Performance.Example5): time 0.001519/0.1501, allocations: 0.5114 MB / 0.7664 GB, free: 8.457 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0001815/0.1503, allocations: 47.8 kB / 0.7664 GB, free: 8.41 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.722e-05/0.1504, allocations: 7.938 kB / 0.7664 GB, free: 8.402 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.995e-05/0.1504, allocations: 0 / 0.7664 GB, free: 8.402 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001304/0.1506, allocations: 3.938 kB / 0.7664 GB, free: 8.398 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 5.953e-05/0.1507, allocations: 7.984 kB / 0.7665 GB, free: 8.391 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 6.077e-05/0.1507, allocations: 11.94 kB / 0.7665 GB, free: 8.379 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.607e-05/0.1508, allocations: 8 kB / 0.7665 GB, free: 8.371 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.696e-05/0.1508, allocations: 0 / 0.7665 GB, free: 8.371 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 7.466e-05/0.1509, allocations: 15.91 kB / 0.7665 GB, free: 8.355 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.532e-05/0.1509, allocations: 4 kB / 0.7665 GB, free: 8.352 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 6.953e-06/0.1509, allocations: 3.938 kB / 0.7665 GB, free: 8.348 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.277e-05/0.151, allocations: 4 kB / 0.7665 GB, free: 8.344 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.214e-05/0.151, allocations: 15.92 kB / 0.7665 GB, free: 8.328 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 5.477e-05/0.1511, allocations: 4 kB / 0.7665 GB, free: 8.324 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.1511, allocations: 0 / 0.7665 GB, free: 8.324 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.503e-06/0.1511, allocations: 0 / 0.7665 GB, free: 8.324 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.323e-06/0.1511, allocations: 0 / 0.7665 GB, free: 8.324 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.0004274/0.1515, allocations: 335.7 kB / 0.7668 GB, free: 7.945 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.1516, allocations: 8.031 kB / 0.7668 GB, free: 7.938 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.619e-05/0.1516, allocations: 30.75 kB / 0.7669 GB, free: 7.898 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.561e-05/0.1516, allocations: 8.844 kB / 0.7669 GB, free: 7.891 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001766/0.1518, allocations: 176.4 kB / 0.767 GB, free: 7.68 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.717e-06/0.1518, allocations: 4.312 kB / 0.7671 GB, free: 7.676 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.817e-05/0.1519, allocations: 4.312 kB / 0.7671 GB, free: 7.672 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.271e-05/0.1519, allocations: 30.27 kB / 0.7671 GB, free: 7.637 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.152, allocations: 3.938 kB / 0.7671 GB, free: 7.633 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.842e-06/0.152, allocations: 0 / 0.7671 GB, free: 7.633 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.152, allocations: 0 / 0.7671 GB, free: 7.633 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.229e-05/0.152, allocations: 11.98 kB / 0.7671 GB, free: 7.621 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001492/0.1522, allocations: 157.7 kB / 0.7673 GB, free: 7.418 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 4.341e-05/0.1522, allocations: 22.58 kB / 0.7673 GB, free: 7.387 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.061e-05/0.1522, allocations: 12.86 kB / 0.7673 GB, free: 7.371 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.326e-05/0.1523, allocations: 0 / 0.7673 GB, free: 7.371 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.24e-05/0.1523, allocations: 34.55 kB / 0.7673 GB, free: 7.328 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 7.41e-07/0.1523, allocations: 0 / 0.7673 GB, free: 7.328 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.0001314/0.1524, allocations: 41.62 kB / 0.7674 GB, free: 7.281 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.681e-05/0.1525, allocations: 59.53 kB / 0.7674 GB, free: 7.211 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.18e-05/0.1526, allocations: 109.8 kB / 0.7675 GB, free: 7.094 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.313e-05/0.1526, allocations: 25.7 kB / 0.7675 GB, free: 7.062 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.414e-05/0.1526, allocations: 84.14 kB / 0.7676 GB, free: 6.977 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.915e-05/0.1527, allocations: 3.906 kB / 0.7676 GB, free: 6.973 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.118e-05/0.1527, allocations: 17.72 kB / 0.7676 GB, free: 6.949 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001034/0.1528, allocations: 314.8 kB / 0.7679 GB, free: 6.633 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.706e-05/0.1528, allocations: 7.938 kB / 0.768 GB, free: 6.625 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.131e-05/0.1528, allocations: 17.72 kB / 0.768 GB, free: 6.602 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.94e-05/0.1529, allocations: 21.7 kB / 0.768 GB, free: 6.574 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.1529, allocations: 4 kB / 0.768 GB, free: 6.57 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.255e-05/0.153, allocations: 45.62 kB / 0.768 GB, free: 6.52 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.153, allocations: 7.938 kB / 0.768 GB, free: 6.512 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.153, allocations: 128 / 0.768 GB, free: 6.512 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.153, allocations: 4 kB / 0.768 GB, free: 6.508 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.268e-05/0.1531, allocations: 4 kB / 0.7681 GB, free: 6.504 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.1531, allocations: 3.938 kB / 0.7681 GB, free: 6.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.825e-05/0.1531, allocations: 7.984 kB / 0.7681 GB, free: 6.492 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.863e-06/0.1532, allocations: 0 / 0.7681 GB, free: 6.492 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 6.784e-05/0.1532, allocations: 114.5 kB / 0.7682 GB, free: 6.371 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.125e-05/0.1532, allocations: 7.844 kB / 0.7682 GB, free: 6.363 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.502e-05/0.1533, allocations: 49.16 kB / 0.7682 GB, free: 6.309 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-06/0.1534, allocations: 11.97 kB / 0.7682 GB, free: 6.297 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.1534, allocations: 3.984 kB / 0.7682 GB, free: 6.293 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.1534, allocations: 0 / 0.7682 GB, free: 6.293 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001106/0.1535, allocations: 153.7 kB / 0.7684 GB, free: 6.094 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.1535, allocations: 0 / 0.7684 GB, free: 6.094 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.714e-05/0.1536, allocations: 4 kB / 0.7684 GB, free: 6.09 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.93e-06/0.1536, allocations: 3.938 kB / 0.7684 GB, free: 6.086 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.673e-06/0.1536, allocations: 0 / 0.7684 GB, free: 6.086 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.1536, allocations: 0 / 0.7684 GB, free: 6.086 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.1536, allocations: 4.25 kB / 0.7684 GB, free: 6.082 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001247/0.1537, allocations: 81.05 kB / 0.7685 GB, free: 5.984 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.353e-05/0.1538, allocations: 85 kB / 0.7686 GB, free: 5.883 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.473e-05/0.1538, allocations: 11.97 kB / 0.7686 GB, free: 5.871 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.018e-05/0.1538, allocations: 0 / 0.7686 GB, free: 5.871 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.379e-05/0.1538, allocations: 3.984 kB / 0.7686 GB, free: 5.867 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.166e-06/0.1538, allocations: 0 / 0.7686 GB, free: 5.867 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.581e-05/0.1539, allocations: 87.28 kB / 0.7687 GB, free: 5.781 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.01e-07/0.1539, allocations: 4.094 kB / 0.7687 GB, free: 5.777 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001842/0.1541, allocations: 4 kB / 0.7687 GB, free: 5.773 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.0003781/0.1545, allocations: 0.6086 MB / 0.7693 GB, free: 5.137 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 8.031e-05/0.1546, allocations: 19.92 kB / 0.7693 GB, free: 5.117 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.1546, allocations: 4.219 kB / 0.7693 GB, free: 5.113 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.327e-05/0.1546, allocations: 8 kB / 0.7693 GB, free: 5.105 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001461/0.1547, allocations: 7.922 kB / 0.7693 GB, free: 5.098 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009439/0.1557, allocations: 1.151 MB / 0.7704 GB, free: 3.859 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002359/0.1559, allocations: 0.6768 MB / 0.7711 GB, free: 3.156 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.915e-05/0.156, allocations: 4 kB / 0.7711 GB, free: 3.152 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.543e-05/0.156, allocations: 11.44 kB / 0.7711 GB, free: 3.141 MB / 0.5606 GB Notification: Performance of SimCode: time 1.754e-06/0.156, allocations: 4 kB / 0.7711 GB, free: 3.137 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01875/0.1748, allocations: 1.214 MB / 0.7723 GB, free: 2.016 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.063/7.238, allocations: 19.95 kB / 0.7723 GB, free: 2 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Examples_Performance_Example5_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Examples_Performance_Example5.fmu > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.pipe 2>&1)