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.0008787/0.0008787, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.005164/0.005164, allocations: 169 kB / 16.26 MB, free: 6.66 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.301/1.301, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001676/0.001676, allocations: 271.1 kB / 291.7 MB, free: 1.887 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9166/0.9166, allocations: 169.5 MB / 0.5004 GB, free: 14.06 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004263/0.0004263, allocations: 19.41 kB / 0.5988 GB, free: 28.12 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.153/0.1535, allocations: 88.53 MB / 0.6852 GB, free: 14.95 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.Performance.Example5): time 0.0005982/0.1541, allocations: 261.3 kB / 0.6855 GB, free: 14.7 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001382/0.1543, allocations: 43.81 kB / 0.6855 GB, free: 14.65 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.844e-05/0.1543, allocations: 0.5 kB / 0.6855 GB, free: 14.65 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.415e-05/0.1544, allocations: 0.5938 kB / 0.6855 GB, free: 14.65 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001235/0.1545, allocations: 7.938 kB / 0.6855 GB, free: 14.64 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.078e-05/0.1545, allocations: 8.547 kB / 0.6855 GB, free: 14.64 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.266e-05/0.1546, allocations: 8.688 kB / 0.6855 GB, free: 14.63 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.409e-05/0.1546, allocations: 3.984 kB / 0.6855 GB, free: 14.62 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.573e-05/0.1547, allocations: 5.844 kB / 0.6855 GB, free: 14.62 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.671e-05/0.1547, allocations: 7.938 kB / 0.6856 GB, free: 14.61 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.356e-05/0.1548, allocations: 0 / 0.6856 GB, free: 14.61 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.096e-05/0.1548, allocations: 4 kB / 0.6856 GB, free: 14.61 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.995e-05/0.1548, allocations: 6.547 kB / 0.6856 GB, free: 14.61 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.894e-05/0.1549, allocations: 37.62 kB / 0.6856 GB, free: 14.56 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 4.476e-05/0.1549, allocations: 11.92 kB / 0.6856 GB, free: 14.55 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.1549, allocations: 0 / 0.6856 GB, free: 14.55 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1549, allocations: 4 kB / 0.6856 GB, free: 14.55 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.136e-06/0.1549, allocations: 0 / 0.6856 GB, free: 14.55 MB / 494.1 MB 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.0003758/0.1553, allocations: 325 kB / 0.6859 GB, free: 14.18 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.335e-05/0.1554, allocations: 8.031 kB / 0.6859 GB, free: 14.17 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.038e-05/0.1554, allocations: 34.69 kB / 0.686 GB, free: 14.13 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.361e-05/0.1554, allocations: 13.34 kB / 0.686 GB, free: 14.12 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001671/0.1556, allocations: 172.4 kB / 0.6861 GB, free: 13.91 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.675e-06/0.1556, allocations: 1.031 kB / 0.6861 GB, free: 13.91 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.522e-05/0.1557, allocations: 2.312 kB / 0.6861 GB, free: 13.91 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.189e-05/0.1557, allocations: 30.27 kB / 0.6862 GB, free: 13.88 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.192e-06/0.1557, allocations: 3.938 kB / 0.6862 GB, free: 13.87 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.015e-06/0.1558, allocations: 3.984 kB / 0.6862 GB, free: 13.87 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.1558, allocations: 0 / 0.6862 GB, free: 13.87 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.898e-05/0.1558, allocations: 8.781 kB / 0.6862 GB, free: 13.86 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001423/0.1559, allocations: 157.1 kB / 0.6863 GB, free: 13.66 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.926e-05/0.156, allocations: 18.58 kB / 0.6864 GB, free: 13.63 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.701e-05/0.156, allocations: 20.91 kB / 0.6864 GB, free: 13.61 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.151e-05/0.156, allocations: 0 / 0.6864 GB, free: 13.61 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.913e-05/0.1561, allocations: 30.56 kB / 0.6864 GB, free: 13.57 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.1561, allocations: 0 / 0.6864 GB, free: 13.57 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001408/0.1562, allocations: 52.47 kB / 0.6865 GB, free: 13.52 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.54e-05/0.1563, allocations: 55.41 kB / 0.6865 GB, free: 13.45 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.271e-05/0.1564, allocations: 105.8 kB / 0.6866 GB, free: 13.34 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.144e-05/0.1564, allocations: 25.7 kB / 0.6866 GB, free: 13.3 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.117e-05/0.1564, allocations: 88.14 kB / 0.6867 GB, free: 13.21 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.035e-05/0.1565, allocations: 0 / 0.6867 GB, free: 13.21 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.292e-05/0.1565, allocations: 10.47 kB / 0.6867 GB, free: 13.2 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.981e-05/0.1566, allocations: 319.5 kB / 0.687 GB, free: 12.88 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.404e-05/0.1566, allocations: 5.781 kB / 0.687 GB, free: 12.88 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.949e-05/0.1566, allocations: 13.72 kB / 0.6871 GB, free: 12.86 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.957e-05/0.1567, allocations: 28.52 kB / 0.6871 GB, free: 12.82 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.1567, allocations: 0 / 0.6871 GB, free: 12.82 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.656e-05/0.1568, allocations: 49.84 kB / 0.6871 GB, free: 12.77 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.1568, allocations: 7.938 kB / 0.6871 GB, free: 12.76 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.1568, allocations: 4 kB / 0.6871 GB, free: 12.76 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.558e-06/0.1568, allocations: 0.7812 kB / 0.6871 GB, free: 12.76 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.108e-05/0.1569, allocations: 11.94 kB / 0.6872 GB, free: 12.75 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.418e-06/0.1569, allocations: 0 / 0.6872 GB, free: 12.75 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.341e-05/0.1569, allocations: 5.703 kB / 0.6872 GB, free: 12.74 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.506e-06/0.1569, allocations: 0 / 0.6872 GB, free: 12.74 MB / 494.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 6.396e-05/0.157, allocations: 114.4 kB / 0.6873 GB, free: 12.62 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.859e-06/0.157, allocations: 4.812 kB / 0.6873 GB, free: 12.62 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.333e-05/0.1571, allocations: 53.83 kB / 0.6873 GB, free: 12.56 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.674e-06/0.1571, allocations: 1.062 kB / 0.6873 GB, free: 12.56 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.1571, allocations: 0 / 0.6873 GB, free: 12.56 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.1571, allocations: 3.984 kB / 0.6873 GB, free: 12.55 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001022/0.1572, allocations: 158.7 kB / 0.6875 GB, free: 12.35 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.1572, allocations: 3.938 kB / 0.6875 GB, free: 12.35 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.79e-05/0.1573, allocations: 4 kB / 0.6875 GB, free: 12.34 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/0.1573, allocations: 4.469 kB / 0.6875 GB, free: 12.34 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.913e-06/0.1573, allocations: 4.219 kB / 0.6875 GB, free: 12.34 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.1573, allocations: 4 kB / 0.6875 GB, free: 12.33 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1573, allocations: 0 / 0.6875 GB, free: 12.33 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001119/0.1575, allocations: 77.11 kB / 0.6876 GB, free: 12.24 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.873e-05/0.1575, allocations: 85.05 kB / 0.6877 GB, free: 12.14 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.459e-05/0.1575, allocations: 3.938 kB / 0.6877 GB, free: 12.13 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.096e-05/0.1576, allocations: 0 / 0.6877 GB, free: 12.13 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.528e-05/0.1576, allocations: 7.984 kB / 0.6877 GB, free: 12.12 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.375e-06/0.1576, allocations: 4.094 kB / 0.6877 GB, free: 12.12 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.55e-05/0.1576, allocations: 87.28 kB / 0.6878 GB, free: 12.04 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1576, allocations: 0 / 0.6878 GB, free: 12.04 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001758/0.1578, allocations: 0 / 0.6878 GB, free: 12.04 MB / 494.1 MB 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.0003552/0.1582, allocations: 0.6164 MB / 0.6884 GB, free: 11.39 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 7.477e-05/0.1583, allocations: 15.98 kB / 0.6884 GB, free: 11.38 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.1583, allocations: 0 / 0.6884 GB, free: 11.38 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.421e-05/0.1583, allocations: 7.938 kB / 0.6884 GB, free: 11.37 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000132/0.1584, allocations: 4 kB / 0.6884 GB, free: 11.36 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008767/0.1593, allocations: 1.154 MB / 0.6895 GB, free: 10.12 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002225/0.1596, allocations: 0.6848 MB / 0.6902 GB, free: 9.41 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.469e-05/0.1596, allocations: 0 / 0.6902 GB, free: 9.41 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.505e-05/0.1596, allocations: 19.42 kB / 0.6902 GB, free: 9.391 MB / 494.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1596, allocations: 0 / 0.6902 GB, free: 9.391 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3221/0.4817, allocations: 1.011 MB / 0.6912 GB, free: 8.512 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001732/0.4819, allocations: 204.6 kB / 0.6914 GB, free: 8.258 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.679/2.161, allocations: 0 / 0.6914 GB, free: 8.258 MB / 494.1 MB (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)