Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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(BuildSysPro.IBPSA.Fluid.Examples.Performance.Example8,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_Example8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Examples.Performance.Example8,fileNamePrefix="BuildSysPro_BuildSysPro_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.0007494/0.0007495, allocations: 91.69 kB / 15.06 MB, free: 1.098 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.0008253/0.0008254, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.294/1.294, allocations: 223.2 MB / 240 MB, free: 5.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9831/0.9831, allocations: 143.4 MB / 434.4 MB, free: 13.69 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003364/0.0003364, allocations: 8 kB / 0.5161 GB, free: 11.17 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1649/0.1653, allocations: 83.41 MB / 0.5975 GB, free: 7.699 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Examples.Performance.Example8): time 0.0005939/0.1659, allocations: 246.4 kB / 0.5978 GB, free: 7.461 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0001073/0.166, allocations: 11.94 kB / 0.5978 GB, free: 7.449 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.973e-05/0.1661, allocations: 0 / 0.5978 GB, free: 7.449 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.102e-05/0.1661, allocations: 4 kB / 0.5978 GB, free: 7.445 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001094/0.1662, allocations: 3.984 kB / 0.5978 GB, free: 7.441 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 6.071e-06/0.1662, allocations: 0 / 0.5978 GB, free: 7.441 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 3.516e-05/0.1663, allocations: 7.938 kB / 0.5978 GB, free: 7.434 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.525e-05/0.1663, allocations: 0 / 0.5978 GB, free: 7.434 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.726e-05/0.1663, allocations: 11.92 kB / 0.5978 GB, free: 7.422 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.568e-05/0.1664, allocations: 0 / 0.5978 GB, free: 7.422 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.101e-05/0.1664, allocations: 0 / 0.5978 GB, free: 7.422 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.42e-06/0.1664, allocations: 0 / 0.5978 GB, free: 7.422 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.79e-06/0.1664, allocations: 4 kB / 0.5978 GB, free: 7.418 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.817e-05/0.1664, allocations: 25.7 kB / 0.5978 GB, free: 7.387 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 2.786e-05/0.1665, allocations: 0 / 0.5978 GB, free: 7.387 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.92e-06/0.1665, allocations: 7.938 kB / 0.5978 GB, free: 7.379 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.023e-06/0.1665, allocations: 0 / 0.5978 GB, free: 7.379 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.166e-06/0.1665, allocations: 0 / 0.5978 GB, free: 7.379 MB / 0.4981 GB 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.0002206/0.1667, allocations: 307.4 kB / 0.5981 GB, free: 7.031 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/0.1668, allocations: 12.09 kB / 0.5981 GB, free: 7.02 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.44e-05/0.1668, allocations: 30.56 kB / 0.5982 GB, free: 6.98 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.12e-05/0.1668, allocations: 11.95 kB / 0.5982 GB, free: 6.969 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.035e-05/0.1669, allocations: 163 kB / 0.5983 GB, free: 6.77 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.293e-05/0.1669, allocations: 4 kB / 0.5983 GB, free: 6.766 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.374e-06/0.167, allocations: 0 / 0.5983 GB, free: 6.766 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001071/0.1671, allocations: 43.41 kB / 0.5984 GB, free: 6.711 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.1671, allocations: 0 / 0.5984 GB, free: 6.711 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.321e-06/0.1671, allocations: 0 / 0.5984 GB, free: 6.711 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.1671, allocations: 4 kB / 0.5984 GB, free: 6.707 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.28e-05/0.1671, allocations: 3.938 kB / 0.5984 GB, free: 6.703 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001571/0.1673, allocations: 162.5 kB / 0.5985 GB, free: 6.492 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.216e-05/0.1674, allocations: 41.27 kB / 0.5986 GB, free: 6.434 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.977e-05/0.1674, allocations: 9.719 kB / 0.5986 GB, free: 6.418 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.516e-05/0.1674, allocations: 0 / 0.5986 GB, free: 6.418 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.816e-05/0.1674, allocations: 42.56 kB / 0.5986 GB, free: 6.367 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 7.61e-07/0.1675, allocations: 0 / 0.5986 GB, free: 6.367 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0001436/0.1676, allocations: 45.62 kB / 0.5987 GB, free: 6.316 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.04e-05/0.1677, allocations: 77.11 kB / 0.5988 GB, free: 6.223 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.232e-05/0.1677, allocations: 93.86 kB / 0.5988 GB, free: 6.121 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.004e-05/0.1677, allocations: 25.7 kB / 0.5989 GB, free: 6.09 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.326e-05/0.1677, allocations: 84.14 kB / 0.5989 GB, free: 6.004 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.741e-05/0.1678, allocations: 8.438 kB / 0.599 GB, free: 5.996 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.154e-06/0.1678, allocations: 3.938 kB / 0.599 GB, free: 5.992 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001063/0.1679, allocations: 318.8 kB / 0.5993 GB, free: 5.672 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.287e-06/0.1679, allocations: 0 / 0.5993 GB, free: 5.672 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.547e-05/0.1679, allocations: 13.72 kB / 0.5993 GB, free: 5.652 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.556e-05/0.168, allocations: 7.984 kB / 0.5993 GB, free: 5.645 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.168, allocations: 0 / 0.5993 GB, free: 5.645 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.379e-05/0.168, allocations: 45.7 kB / 0.5993 GB, free: 5.594 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.1681, allocations: 4 kB / 0.5993 GB, free: 5.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.96e-06/0.1681, allocations: 0 / 0.5993 GB, free: 5.59 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/0.1681, allocations: 4 kB / 0.5993 GB, free: 5.586 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.272e-05/0.1682, allocations: 3.984 kB / 0.5993 GB, free: 5.582 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.164e-06/0.1682, allocations: 7.984 kB / 0.5993 GB, free: 5.574 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.871e-05/0.1682, allocations: 3.938 kB / 0.5993 GB, free: 5.57 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.62e-06/0.1682, allocations: 0 / 0.5993 GB, free: 5.57 MB / 0.4981 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.742e-05/0.1683, allocations: 117.9 kB / 0.5995 GB, free: 5.445 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.035e-06/0.1683, allocations: 3.938 kB / 0.5995 GB, free: 5.441 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001047/0.1684, allocations: 52.66 kB / 0.5995 GB, free: 5.387 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.1684, allocations: 3.984 kB / 0.5995 GB, free: 5.383 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.1684, allocations: 0 / 0.5995 GB, free: 5.383 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.1684, allocations: 4 kB / 0.5995 GB, free: 5.379 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.417e-05/0.1685, allocations: 149.6 kB / 0.5997 GB, free: 5.184 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.1685, allocations: 0 / 0.5997 GB, free: 5.184 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.612e-05/0.1686, allocations: 12 kB / 0.5997 GB, free: 5.172 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/0.1686, allocations: 4 kB / 0.5997 GB, free: 5.168 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.901e-06/0.1686, allocations: 0 / 0.5997 GB, free: 5.168 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.734e-06/0.1686, allocations: 4 kB / 0.5997 GB, free: 5.164 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1686, allocations: 0 / 0.5997 GB, free: 5.164 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.713e-05/0.1687, allocations: 69.94 kB / 0.5998 GB, free: 5.074 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.041e-05/0.1687, allocations: 77.11 kB / 0.5998 GB, free: 4.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.388e-05/0.1687, allocations: 8.031 kB / 0.5998 GB, free: 4.973 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.653e-05/0.1688, allocations: 4 kB / 0.5998 GB, free: 4.969 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.484e-05/0.1688, allocations: 0 / 0.5998 GB, free: 4.969 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.968e-06/0.1688, allocations: 0 / 0.5998 GB, free: 4.969 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.709e-05/0.1688, allocations: 79.22 kB / 0.5999 GB, free: 4.891 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.01e-07/0.1688, allocations: 4 kB / 0.5999 GB, free: 4.887 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001902/0.169, allocations: 0 / 0.5999 GB, free: 4.887 MB / 0.4981 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003378/0.1694, allocations: 0.6093 MB / 0.6005 GB, free: 4.242 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 7.034e-05/0.1695, allocations: 15.92 kB / 0.6005 GB, free: 4.227 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1695, allocations: 0 / 0.6005 GB, free: 4.227 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.729e-06/0.1695, allocations: 4 kB / 0.6005 GB, free: 4.223 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001283/0.1696, allocations: 288 / 0.6005 GB, free: 4.223 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002818/0.1699, allocations: 117.3 kB / 0.6006 GB, free: 4.062 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001925/0.1701, allocations: 0.6731 MB / 0.6013 GB, free: 3.363 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.747e-05/0.1701, allocations: 0 / 0.6013 GB, free: 3.363 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.504e-05/0.1702, allocations: 7.438 kB / 0.6013 GB, free: 3.355 MB / 0.4981 GB Notification: Performance of SimCode: time 2.51e-07/0.1702, allocations: 3.938 kB / 0.6013 GB, free: 3.352 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01086/0.181, allocations: 0.7552 MB / 0.602 GB, free: 2.73 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001838/0.1813, allocations: 190.5 kB / 0.6022 GB, free: 2.488 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.594/1.775, allocations: 0 / 0.6022 GB, free: 2.488 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example8.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example8.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example8.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example8.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_Example8_fmu --startTime=0 --stopTime=50 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_Example8.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example8.pipe 2>&1) Environment - environmentSimulation: