Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/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.Example8,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Examples_Performance_Example8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Examples.Performance.Example8,fileNamePrefix="BuildingSystems_BuildingSystems_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.0008135/0.0008136, allocations: 91.77 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.005486/0.005486, allocations: 171.1 kB / 16.26 MB, free: 6.68 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.205/1.205, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001688/0.001688, allocations: 278.8 kB / 291.7 MB, free: 1.883 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.867/0.867, allocations: 169.5 MB / 0.5004 GB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004051/0.0004051, allocations: 10.34 kB / 0.5988 GB, free: 28.03 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1566/0.157, allocations: 88.54 MB / 0.6852 GB, free: 14.97 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.Performance.Example8): time 0.0006218/0.1577, allocations: 240.7 kB / 0.6855 GB, free: 14.74 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001303/0.1578, allocations: 23.89 kB / 0.6855 GB, free: 14.71 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.085e-05/0.1579, allocations: 3.938 kB / 0.6855 GB, free: 14.71 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.268e-05/0.1579, allocations: 0 / 0.6855 GB, free: 14.71 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000131/0.158, allocations: 2.562 kB / 0.6855 GB, free: 14.71 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.625e-06/0.158, allocations: 0 / 0.6855 GB, free: 14.71 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.94e-05/0.1581, allocations: 4 kB / 0.6855 GB, free: 14.71 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.411e-05/0.1581, allocations: 0 / 0.6855 GB, free: 14.71 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.44e-05/0.1582, allocations: 4 kB / 0.6855 GB, free: 14.7 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.141e-05/0.1582, allocations: 3.984 kB / 0.6855 GB, free: 14.7 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.313e-05/0.1583, allocations: 4.562 kB / 0.6855 GB, free: 14.7 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.632e-06/0.1583, allocations: 0 / 0.6855 GB, free: 14.7 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.311e-05/0.1583, allocations: 5.141 kB / 0.6855 GB, free: 14.69 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.552e-05/0.1583, allocations: 33.64 kB / 0.6855 GB, free: 14.65 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 3.363e-05/0.1584, allocations: 0 / 0.6855 GB, free: 14.65 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.1584, allocations: 4.562 kB / 0.6855 GB, free: 14.65 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1584, allocations: 0 / 0.6855 GB, free: 14.65 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.487e-06/0.1584, allocations: 0.5312 kB / 0.6855 GB, free: 14.65 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002535/0.1586, allocations: 315.8 kB / 0.6858 GB, free: 14.29 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.69e-05/0.1587, allocations: 8.031 kB / 0.6859 GB, free: 14.29 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.111e-05/0.1587, allocations: 34.73 kB / 0.6859 GB, free: 14.24 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.901e-05/0.1588, allocations: 0.9375 kB / 0.6859 GB, free: 14.24 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.346e-05/0.1589, allocations: 169 kB / 0.686 GB, free: 14.04 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.064e-05/0.1589, allocations: 4.375 kB / 0.6861 GB, free: 14.04 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.212e-06/0.1589, allocations: 3.812 kB / 0.6861 GB, free: 14.04 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001003/0.159, allocations: 47.92 kB / 0.6861 GB, free: 13.98 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.159, allocations: 3.938 kB / 0.6861 GB, free: 13.97 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.693e-06/0.159, allocations: 0 / 0.6861 GB, free: 13.97 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.159, allocations: 0 / 0.6861 GB, free: 13.97 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.485e-05/0.1591, allocations: 7.984 kB / 0.6861 GB, free: 13.96 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001447/0.1592, allocations: 155.5 kB / 0.6863 GB, free: 13.76 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.701e-05/0.1593, allocations: 47.5 kB / 0.6863 GB, free: 13.7 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.587e-05/0.1593, allocations: 21.83 kB / 0.6863 GB, free: 13.67 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.223e-05/0.1593, allocations: 0 / 0.6863 GB, free: 13.67 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.006e-05/0.1593, allocations: 31.81 kB / 0.6864 GB, free: 13.63 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 7.61e-07/0.1594, allocations: 0 / 0.6864 GB, free: 13.63 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001405/0.1595, allocations: 51.2 kB / 0.6864 GB, free: 13.58 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.109e-05/0.1596, allocations: 77.11 kB / 0.6865 GB, free: 13.48 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.448e-05/0.1596, allocations: 96.88 kB / 0.6866 GB, free: 13.38 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.369e-05/0.1596, allocations: 29.7 kB / 0.6866 GB, free: 13.35 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.297e-05/0.1597, allocations: 80.14 kB / 0.6867 GB, free: 13.27 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.161e-05/0.1597, allocations: 3.906 kB / 0.6867 GB, free: 13.26 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.066e-05/0.1597, allocations: 9.719 kB / 0.6867 GB, free: 13.25 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001093/0.1598, allocations: 319.6 kB / 0.687 GB, free: 12.93 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.342e-05/0.1599, allocations: 4 kB / 0.687 GB, free: 12.92 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.766e-05/0.1599, allocations: 11.44 kB / 0.687 GB, free: 12.91 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.87e-05/0.1599, allocations: 22.36 kB / 0.687 GB, free: 12.88 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.16, allocations: 0.625 kB / 0.687 GB, free: 12.88 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.336e-05/0.16, allocations: 42.52 kB / 0.6871 GB, free: 12.83 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.1601, allocations: 10.12 kB / 0.6871 GB, free: 12.82 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.1601, allocations: 0.5312 kB / 0.6871 GB, free: 12.82 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.237e-05/0.1601, allocations: 4 kB / 0.6871 GB, free: 12.82 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.688e-05/0.1602, allocations: 4.984 kB / 0.6871 GB, free: 12.82 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.154e-06/0.1602, allocations: 4 kB / 0.6871 GB, free: 12.81 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.045e-05/0.1602, allocations: 1.062 kB / 0.6871 GB, free: 12.81 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.43e-06/0.1602, allocations: 0 / 0.6871 GB, free: 12.81 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 7.5e-05/0.1603, allocations: 107 kB / 0.6872 GB, free: 12.7 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.421e-05/0.1604, allocations: 15.94 kB / 0.6872 GB, free: 12.68 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001215/0.1605, allocations: 48.66 kB / 0.6873 GB, free: 12.63 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.1605, allocations: 0 / 0.6873 GB, free: 12.63 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.1605, allocations: 0 / 0.6873 GB, free: 12.63 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.1605, allocations: 4 kB / 0.6873 GB, free: 12.62 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001174/0.1606, allocations: 153.7 kB / 0.6874 GB, free: 12.43 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.1607, allocations: 0 / 0.6874 GB, free: 12.43 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.355e-05/0.1607, allocations: 7.938 kB / 0.6874 GB, free: 12.42 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.1607, allocations: 8 kB / 0.6874 GB, free: 12.41 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.781e-06/0.1607, allocations: 3.938 kB / 0.6874 GB, free: 12.41 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.1607, allocations: 4 kB / 0.6874 GB, free: 12.4 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1607, allocations: 0 / 0.6874 GB, free: 12.4 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.247e-05/0.1608, allocations: 65.98 kB / 0.6875 GB, free: 12.32 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.92e-05/0.1609, allocations: 77.11 kB / 0.6876 GB, free: 12.22 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.22e-05/0.1609, allocations: 7.938 kB / 0.6876 GB, free: 12.21 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.358e-05/0.1609, allocations: 4.031 kB / 0.6876 GB, free: 12.21 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.62e-05/0.1609, allocations: 11.92 kB / 0.6876 GB, free: 12.2 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.426e-06/0.1609, allocations: 4 kB / 0.6876 GB, free: 12.2 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.78e-05/0.161, allocations: 75.28 kB / 0.6877 GB, free: 12.12 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.161, allocations: 0 / 0.6877 GB, free: 12.12 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001794/0.1612, allocations: 0 / 0.6877 GB, free: 12.12 MB / 494.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.0003246/0.1615, allocations: 0.6055 MB / 0.6883 GB, free: 11.48 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 5.779e-05/0.1616, allocations: 15.94 kB / 0.6883 GB, free: 11.46 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1616, allocations: 0 / 0.6883 GB, free: 11.46 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.026e-05/0.1616, allocations: 4 kB / 0.6883 GB, free: 11.46 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001293/0.1617, allocations: 2.391 kB / 0.6883 GB, free: 11.46 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002701/0.162, allocations: 125.3 kB / 0.6884 GB, free: 11.29 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000232/0.1622, allocations: 0.6731 MB / 0.6891 GB, free: 10.59 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.776e-05/0.1623, allocations: 4 kB / 0.6891 GB, free: 10.59 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.412e-05/0.1623, allocations: 11.42 kB / 0.6891 GB, free: 10.58 MB / 494.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1623, allocations: 0 / 0.6891 GB, free: 10.58 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1946/0.3569, allocations: 0.7524 MB / 0.6898 GB, free: 9.949 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002186/0.3572, allocations: 204.5 kB / 0.69 GB, free: 9.695 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.66/2.017, allocations: 3.938 kB / 0.69 GB, free: 9.691 MB / 494.1 MB (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Examples_Performance_Example8_fmu --startTime=0 --stopTime=50 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Examples_Performance_Example8.fmu > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8.pipe 2>&1)