Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/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.Example5,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_Example5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Examples.Performance.Example5,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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.000866/0.0008661, allocations: 90.75 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.0008638/0.0008637, 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.316/1.316, allocations: 223.2 MB / 240 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.008/1.008, allocations: 143.4 MB / 434.4 MB, free: 13.7 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003335/0.0003337, allocations: 8 kB / 0.5161 GB, free: 11.18 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1802/0.1806, allocations: 83.42 MB / 0.5975 GB, free: 7.707 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Examples.Performance.Example5): time 0.0006021/0.1812, allocations: 246.4 kB / 0.5978 GB, free: 7.469 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0001646/0.1814, allocations: 43.84 kB / 0.5978 GB, free: 7.426 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.236e-05/0.1815, allocations: 0 / 0.5978 GB, free: 7.426 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.532e-05/0.1815, allocations: 7.922 kB / 0.5978 GB, free: 7.418 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 9.361e-05/0.1816, allocations: 4 kB / 0.5978 GB, free: 7.414 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 6.305e-05/0.1817, allocations: 4 kB / 0.5978 GB, free: 7.41 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.357e-05/0.1817, allocations: 7.938 kB / 0.5978 GB, free: 7.402 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.311e-05/0.1818, allocations: 0 / 0.5978 GB, free: 7.402 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.75e-05/0.1818, allocations: 11.97 kB / 0.5978 GB, free: 7.391 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.289e-05/0.1819, allocations: 4 kB / 0.5978 GB, free: 7.387 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.506e-05/0.1819, allocations: 4 kB / 0.5979 GB, free: 7.383 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.053e-06/0.1819, allocations: 0 / 0.5979 GB, free: 7.383 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.863e-05/0.1819, allocations: 7.922 kB / 0.5979 GB, free: 7.375 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.626e-05/0.182, allocations: 29.7 kB / 0.5979 GB, free: 7.34 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 3.374e-05/0.182, allocations: 4 kB / 0.5979 GB, free: 7.336 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.182, allocations: 0 / 0.5979 GB, free: 7.336 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.453e-06/0.182, allocations: 0 / 0.5979 GB, free: 7.336 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.48e-06/0.182, allocations: 0 / 0.5979 GB, free: 7.336 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004029/0.1825, allocations: 331.3 kB / 0.5982 GB, free: 6.965 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/0.1825, allocations: 8.031 kB / 0.5982 GB, free: 6.957 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.028e-05/0.1825, allocations: 34.55 kB / 0.5982 GB, free: 6.914 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.041e-05/0.1826, allocations: 3.953 kB / 0.5983 GB, free: 6.91 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001717/0.1827, allocations: 171.3 kB / 0.5984 GB, free: 6.703 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.696e-06/0.1828, allocations: 4 kB / 0.5984 GB, free: 6.699 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.827e-05/0.1828, allocations: 7.938 kB / 0.5984 GB, free: 6.691 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.164e-05/0.1829, allocations: 37.62 kB / 0.5985 GB, free: 6.648 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.012e-06/0.1829, allocations: 0 / 0.5985 GB, free: 6.648 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.909e-06/0.1829, allocations: 0 / 0.5985 GB, free: 6.648 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.1829, allocations: 0 / 0.5985 GB, free: 6.648 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.65e-05/0.1829, allocations: 4 kB / 0.5985 GB, free: 6.645 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001509/0.1831, allocations: 157.7 kB / 0.5986 GB, free: 6.441 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.806e-05/0.1831, allocations: 22.56 kB / 0.5986 GB, free: 6.41 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.708e-05/0.1831, allocations: 8.922 kB / 0.5986 GB, free: 6.398 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.195e-05/0.1831, allocations: 0 / 0.5986 GB, free: 6.398 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.929e-05/0.1832, allocations: 34.5 kB / 0.5987 GB, free: 6.355 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 7.42e-07/0.1832, allocations: 0 / 0.5987 GB, free: 6.355 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001188/0.1833, allocations: 41.69 kB / 0.5987 GB, free: 6.309 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.414e-05/0.1834, allocations: 51.41 kB / 0.5988 GB, free: 6.246 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.414e-05/0.1834, allocations: 117.9 kB / 0.5989 GB, free: 6.121 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.217e-05/0.1835, allocations: 29.7 kB / 0.5989 GB, free: 6.086 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.335e-05/0.1835, allocations: 84.12 kB / 0.599 GB, free: 6 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.552e-05/0.1835, allocations: 3.906 kB / 0.599 GB, free: 5.996 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.405e-06/0.1835, allocations: 0 / 0.599 GB, free: 5.996 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.873e-05/0.1836, allocations: 318.8 kB / 0.5993 GB, free: 5.676 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.343e-05/0.1837, allocations: 4 kB / 0.5993 GB, free: 5.672 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.926e-05/0.1837, allocations: 17.7 kB / 0.5993 GB, free: 5.648 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.804e-05/0.1837, allocations: 12 kB / 0.5993 GB, free: 5.637 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.1837, allocations: 0 / 0.5993 GB, free: 5.637 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.642e-05/0.1838, allocations: 45.69 kB / 0.5994 GB, free: 5.586 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.208e-05/0.1838, allocations: 8 kB / 0.5994 GB, free: 5.578 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.1838, allocations: 0 / 0.5994 GB, free: 5.578 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.1838, allocations: 3.984 kB / 0.5994 GB, free: 5.574 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.969e-05/0.1839, allocations: 7.938 kB / 0.5994 GB, free: 5.566 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.1839, allocations: 3.984 kB / 0.5994 GB, free: 5.562 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.626e-05/0.1839, allocations: 12.05 kB / 0.5994 GB, free: 5.551 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.622e-06/0.184, allocations: 4 kB / 0.5994 GB, free: 5.547 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.519e-05/0.184, allocations: 109.8 kB / 0.5995 GB, free: 5.43 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.416e-06/0.184, allocations: 3.906 kB / 0.5995 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.302e-05/0.1841, allocations: 48.81 kB / 0.5996 GB, free: 5.375 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-06/0.1842, allocations: 0 / 0.5996 GB, free: 5.375 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.1842, allocations: 0 / 0.5996 GB, free: 5.375 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.1842, allocations: 3.984 kB / 0.5996 GB, free: 5.371 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001112/0.1843, allocations: 165.9 kB / 0.5997 GB, free: 5.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.1843, allocations: 8 kB / 0.5997 GB, free: 5.152 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.508e-05/0.1843, allocations: 4 kB / 0.5997 GB, free: 5.148 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.1844, allocations: 0 / 0.5997 GB, free: 5.148 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.983e-06/0.1844, allocations: 7.875 kB / 0.5997 GB, free: 5.141 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.1844, allocations: 0 / 0.5997 GB, free: 5.141 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.1844, allocations: 0 / 0.5997 GB, free: 5.141 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001101/0.1845, allocations: 77.06 kB / 0.5998 GB, free: 5.047 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.453e-05/0.1845, allocations: 89.23 kB / 0.5999 GB, free: 4.941 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.075e-05/0.1846, allocations: 0 / 0.5999 GB, free: 4.941 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.915e-05/0.1846, allocations: 0 / 0.5999 GB, free: 4.941 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.553e-05/0.1846, allocations: 0 / 0.5999 GB, free: 4.941 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.817e-06/0.1846, allocations: 7.938 kB / 0.5999 GB, free: 4.934 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.378e-05/0.1847, allocations: 87.27 kB / 0.6 GB, free: 4.848 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1847, allocations: 0 / 0.6 GB, free: 4.848 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001777/0.1848, allocations: 4 kB / 0.6 GB, free: 4.844 MB / 0.4981 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 (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.0003629/0.1852, allocations: 0.6162 MB / 0.6006 GB, free: 4.195 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 6.958e-05/0.1853, allocations: 15.98 kB / 0.6006 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.644e-06/0.1853, allocations: 0 / 0.6006 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.579e-05/0.1853, allocations: 11.94 kB / 0.6006 GB, free: 4.168 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001272/0.1855, allocations: 0 / 0.6006 GB, free: 4.168 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004772/0.1859, allocations: 372 kB / 0.601 GB, free: 3.75 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002258/0.1862, allocations: 0.6771 MB / 0.6016 GB, free: 3.047 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.649e-05/0.1862, allocations: 7.984 kB / 0.6017 GB, free: 3.039 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.988e-05/0.1862, allocations: 11.44 kB / 0.6017 GB, free: 3.027 MB / 0.4981 GB Notification: Performance of SimCode: time 3.91e-07/0.1862, allocations: 4 kB / 0.6017 GB, free: 3.023 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009982/0.1962, allocations: 0.9939 MB / 0.6026 GB, free: 2.156 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001557/0.1964, allocations: 186.5 kB / 0.6028 GB, free: 1.918 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.66/1.856, allocations: 7.234 kB / 0.6028 GB, free: 1.914 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example5.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example5.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example5.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_Example5_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_Example5.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example5.pipe 2>&1) Environment - environmentSimulation: