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.001258/0.001258, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001541/0.001541, allocations: 177.3 kB / 15.94 MB, free: 228 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.429/1.429, allocations: 223.2 MB / 239.9 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.016/1.016, allocations: 143.3 MB / 434.3 MB, free: 13.77 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003371/0.0003372, allocations: 11.98 kB / 0.5159 GB, free: 11.29 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.183/0.1834, allocations: 83.41 MB / 0.5973 GB, free: 7.816 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Examples.Performance.Example8): time 0.0005925/0.184, allocations: 254.3 kB / 0.5976 GB, free: 7.57 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0001081/0.1841, allocations: 8 kB / 0.5976 GB, free: 7.562 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.987e-05/0.1842, allocations: 0 / 0.5976 GB, free: 7.562 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 9.077e-06/0.1842, allocations: 0 / 0.5976 GB, free: 7.562 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001129/0.1843, allocations: 4 kB / 0.5976 GB, free: 7.559 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 2.665e-06/0.1843, allocations: 0 / 0.5976 GB, free: 7.559 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 3.395e-05/0.1843, allocations: 4 kB / 0.5976 GB, free: 7.555 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.394e-05/0.1844, allocations: 0 / 0.5976 GB, free: 7.555 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.649e-05/0.1844, allocations: 11.88 kB / 0.5976 GB, free: 7.543 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.991e-05/0.1845, allocations: 11.91 kB / 0.5976 GB, free: 7.531 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.156e-05/0.1845, allocations: 0 / 0.5976 GB, free: 7.531 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.903e-06/0.1845, allocations: 0 / 0.5976 GB, free: 7.531 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.252e-06/0.1845, allocations: 0 / 0.5976 GB, free: 7.531 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.71e-05/0.1845, allocations: 25.7 kB / 0.5976 GB, free: 7.5 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 2.517e-05/0.1846, allocations: 4 kB / 0.5977 GB, free: 7.496 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.485e-06/0.1846, allocations: 0 / 0.5977 GB, free: 7.496 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.363e-06/0.1846, allocations: 0 / 0.5977 GB, free: 7.496 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.456e-06/0.1846, allocations: 4 kB / 0.5977 GB, free: 7.492 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.0002137/0.1848, allocations: 303.4 kB / 0.5979 GB, free: 7.148 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.1848, allocations: 12.09 kB / 0.598 GB, free: 7.137 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.226e-05/0.1849, allocations: 30.56 kB / 0.598 GB, free: 7.098 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.923e-05/0.1849, allocations: 3.953 kB / 0.598 GB, free: 7.094 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.114e-05/0.185, allocations: 167 kB / 0.5982 GB, free: 6.891 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.056e-05/0.185, allocations: 4 kB / 0.5982 GB, free: 6.887 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.277e-06/0.185, allocations: 0 / 0.5982 GB, free: 6.887 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.372e-05/0.1851, allocations: 47.36 kB / 0.5982 GB, free: 6.828 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.222e-06/0.1851, allocations: 0 / 0.5982 GB, free: 6.828 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.362e-06/0.1851, allocations: 0 / 0.5982 GB, free: 6.828 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.1852, allocations: 4 kB / 0.5982 GB, free: 6.824 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.256e-05/0.1852, allocations: 7.938 kB / 0.5982 GB, free: 6.816 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001362/0.1853, allocations: 154.5 kB / 0.5984 GB, free: 6.613 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.435e-05/0.1854, allocations: 45.22 kB / 0.5984 GB, free: 6.551 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.046e-05/0.1854, allocations: 0 / 0.5984 GB, free: 6.551 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.854e-05/0.1854, allocations: 30.56 kB / 0.5984 GB, free: 6.512 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 8.02e-07/0.1854, allocations: 0 / 0.5984 GB, free: 6.512 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0001303/0.1856, allocations: 45.69 kB / 0.5985 GB, free: 6.461 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.323e-05/0.1856, allocations: 85.05 kB / 0.5986 GB, free: 6.359 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.386e-05/0.1857, allocations: 94.11 kB / 0.5986 GB, free: 6.258 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.283e-05/0.1857, allocations: 25.7 kB / 0.5987 GB, free: 6.227 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.594e-05/0.1857, allocations: 80.14 kB / 0.5987 GB, free: 6.145 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.795e-05/0.1857, allocations: 4.188 kB / 0.5987 GB, free: 6.141 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.525e-06/0.1858, allocations: 0 / 0.5987 GB, free: 6.141 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.827e-05/0.1859, allocations: 322.8 kB / 0.5991 GB, free: 5.816 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.005e-05/0.1859, allocations: 0 / 0.5991 GB, free: 5.816 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.461e-05/0.1859, allocations: 21.66 kB / 0.5991 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.94e-05/0.1859, allocations: 8.062 kB / 0.5991 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.1859, allocations: 0 / 0.5991 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.348e-05/0.186, allocations: 41.62 kB / 0.5991 GB, free: 5.734 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.928e-05/0.186, allocations: 8.625 kB / 0.5991 GB, free: 5.727 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.186, allocations: 0 / 0.5991 GB, free: 5.727 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.06e-05/0.186, allocations: 0 / 0.5991 GB, free: 5.727 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.537e-05/0.1861, allocations: 7.938 kB / 0.5991 GB, free: 5.719 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.1861, allocations: 0 / 0.5991 GB, free: 5.719 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.761e-05/0.1861, allocations: 4 kB / 0.5991 GB, free: 5.715 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.893e-06/0.1862, allocations: 8 kB / 0.5992 GB, free: 5.707 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 5.969e-05/0.1862, allocations: 113.8 kB / 0.5993 GB, free: 5.586 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.873e-06/0.1862, allocations: 0 / 0.5993 GB, free: 5.586 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001013/0.1863, allocations: 52.66 kB / 0.5993 GB, free: 5.531 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.1863, allocations: 4 kB / 0.5993 GB, free: 5.527 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.1864, allocations: 0 / 0.5993 GB, free: 5.527 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-06/0.1864, allocations: 4.062 kB / 0.5993 GB, free: 5.523 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.61e-05/0.1865, allocations: 149.6 kB / 0.5995 GB, free: 5.328 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.1865, allocations: 4 kB / 0.5995 GB, free: 5.324 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.012e-05/0.1865, allocations: 0 / 0.5995 GB, free: 5.324 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.1865, allocations: 4 kB / 0.5995 GB, free: 5.32 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.452e-06/0.1865, allocations: 0 / 0.5995 GB, free: 5.32 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.1865, allocations: 0 / 0.5995 GB, free: 5.32 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/0.1865, allocations: 7.938 kB / 0.5995 GB, free: 5.312 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.479e-05/0.1866, allocations: 91.66 kB / 0.5996 GB, free: 5.195 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.159e-05/0.1866, allocations: 77.11 kB / 0.5996 GB, free: 5.102 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.848e-06/0.1867, allocations: 0 / 0.5996 GB, free: 5.102 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.646e-05/0.1867, allocations: 3.984 kB / 0.5996 GB, free: 5.098 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.569e-05/0.1867, allocations: 4 kB / 0.5996 GB, free: 5.094 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.933e-06/0.1867, allocations: 0 / 0.5996 GB, free: 5.094 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.616e-05/0.1867, allocations: 75.28 kB / 0.5997 GB, free: 5.02 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1867, allocations: 0 / 0.5997 GB, free: 5.02 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001735/0.1869, allocations: 4.031 kB / 0.5997 GB, free: 5.016 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.000321/0.1872, allocations: 0.6837 MB / 0.6004 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 6.172e-05/0.1873, allocations: 12.03 kB / 0.6004 GB, free: 4.281 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.848e-06/0.1873, allocations: 0 / 0.6004 GB, free: 4.281 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.032e-05/0.1873, allocations: 11.88 kB / 0.6004 GB, free: 4.27 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.571e-05/0.1874, allocations: 0 / 0.6004 GB, free: 4.27 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000276/0.1877, allocations: 113.3 kB / 0.6005 GB, free: 4.113 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002209/0.188, allocations: 0.677 MB / 0.6012 GB, free: 3.41 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.03e-05/0.188, allocations: 8.25 kB / 0.6012 GB, free: 3.402 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.16e-05/0.188, allocations: 7.438 kB / 0.6012 GB, free: 3.395 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.188, allocations: 0 / 0.6012 GB, free: 3.395 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009225/0.1972, allocations: 0.7386 MB / 0.6019 GB, free: 2.785 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001658/0.1975, allocations: 185.5 kB / 0.6021 GB, free: 2.547 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.603/1.8, allocations: 0 / 0.6021 GB, free: 2.547 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: