Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example8.conf.json 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/IBPSA 4.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Fluid.Examples.Performance.Example8,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Examples_Performance_Example8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Examples.Performance.Example8,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Examples_Performance_Example8",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009096/0.0009096, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4874/0.4874, allocations: 90.91 MB / 99.35 MB, free: 2.184 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.409/1.409, allocations: 221.5 MB / 343.2 MB, free: 1.578 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008764/0.0008764, allocations: 94.7 kB / 415.9 MB, free: 11.18 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.562e-05/1.564e-05, allocations: 4 kB / 494.6 MB, free: 52.34 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.144/0.1441, allocations: 72.31 MB / 0.5536 GB, free: 12.21 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4899/0.634, allocations: 99.93 MB / 0.6512 GB, free: 10.08 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002276/0.6343, allocations: 68.59 kB / 0.6513 GB, free: 10.04 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0007091/0.635, allocations: 407.6 kB / 0.6516 GB, free: 9.66 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.635, allocations: 0 / 0.6516 GB, free: 9.66 MB / 458.7 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.6351, allocations: 3.156 kB / 0.6517 GB, free: 9.66 MB / 458.7 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.0002609/0.6353, allocations: 313 kB / 0.6519 GB, free: 9.316 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.656e-05/0.6354, allocations: 8.031 kB / 0.652 GB, free: 9.309 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.117e-05/0.6354, allocations: 8.578 kB / 0.652 GB, free: 9.301 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.864e-05/0.6355, allocations: 166.6 kB / 0.6521 GB, free: 9.102 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.393e-05/0.6355, allocations: 0 / 0.6521 GB, free: 9.102 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.055e-06/0.6356, allocations: 0 / 0.6521 GB, free: 9.102 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.69e-05/0.6356, allocations: 4.5 kB / 0.6521 GB, free: 9.098 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.232e-05/0.6357, allocations: 43.41 kB / 0.6522 GB, free: 9.043 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.6357, allocations: 7.938 kB / 0.6522 GB, free: 9.035 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.408e-06/0.6357, allocations: 0 / 0.6522 GB, free: 9.035 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.6358, allocations: 3.953 kB / 0.6522 GB, free: 9.031 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001316/0.6359, allocations: 130.8 kB / 0.6523 GB, free: 8.867 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.671e-05/0.636, allocations: 45.14 kB / 0.6523 GB, free: 8.805 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.105e-05/0.636, allocations: 9.719 kB / 0.6524 GB, free: 8.789 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.402e-05/0.636, allocations: 4.125 kB / 0.6524 GB, free: 8.785 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.018e-05/0.636, allocations: 38.17 kB / 0.6524 GB, free: 8.742 MB / 458.7 MB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.636, allocations: 0 / 0.6524 GB, free: 8.742 MB / 458.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001348/0.6362, allocations: 41.55 kB / 0.6524 GB, free: 8.695 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.169e-05/0.6362, allocations: 83.91 kB / 0.6525 GB, free: 8.598 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3e-05/0.6363, allocations: 85 kB / 0.6526 GB, free: 8.508 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.103e-05/0.6363, allocations: 25.7 kB / 0.6526 GB, free: 8.477 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.157e-05/0.6363, allocations: 80.14 kB / 0.6527 GB, free: 8.395 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.825e-05/0.6363, allocations: 7.562 kB / 0.6527 GB, free: 8.391 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.395e-06/0.6364, allocations: 0 / 0.6527 GB, free: 8.391 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001045/0.6365, allocations: 322.8 kB / 0.653 GB, free: 8.066 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.307e-06/0.6365, allocations: 0 / 0.653 GB, free: 8.066 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.39e-05/0.6365, allocations: 13.72 kB / 0.653 GB, free: 8.047 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.109e-05/0.6365, allocations: 4 kB / 0.653 GB, free: 8.043 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.6365, allocations: 0 / 0.653 GB, free: 8.043 MB / 458.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.589e-05/0.6366, allocations: 45.8 kB / 0.6531 GB, free: 7.996 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/0.6366, allocations: 5.25 kB / 0.6531 GB, free: 7.992 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.6366, allocations: 4 kB / 0.6531 GB, free: 7.988 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.6367, allocations: 3.984 kB / 0.6531 GB, free: 7.984 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.937e-05/0.6367, allocations: 4 kB / 0.6531 GB, free: 7.98 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.6367, allocations: 4.125 kB / 0.6531 GB, free: 7.977 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.674e-05/0.6368, allocations: 3.75 kB / 0.6531 GB, free: 7.977 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.071e-06/0.6368, allocations: 0 / 0.6531 GB, free: 7.977 MB / 458.7 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 () * 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.846e-05/0.6369, allocations: 108.9 kB / 0.6532 GB, free: 7.863 MB / 458.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 5.282e-05/0.6369, allocations: 41.62 kB / 0.6532 GB, free: 7.816 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.442e-06/0.6369, allocations: 0 / 0.6532 GB, free: 7.816 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001003/0.637, allocations: 53 kB / 0.6533 GB, free: 7.762 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.637, allocations: 0 / 0.6533 GB, free: 7.762 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.6371, allocations: 0 / 0.6533 GB, free: 7.762 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.6371, allocations: 3.938 kB / 0.6533 GB, free: 7.758 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.31e-05/0.6371, allocations: 134.2 kB / 0.6534 GB, free: 7.59 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.6372, allocations: 0 / 0.6534 GB, free: 7.59 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.413e-05/0.6372, allocations: 4 kB / 0.6534 GB, free: 7.586 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.6372, allocations: 0 / 0.6534 GB, free: 7.586 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.141e-06/0.6372, allocations: 0 / 0.6534 GB, free: 7.586 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.048e-06/0.6372, allocations: 7.984 kB / 0.6534 GB, free: 7.578 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/0.6372, allocations: 3.938 kB / 0.6534 GB, free: 7.574 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.078e-05/0.6373, allocations: 83.36 kB / 0.6535 GB, free: 7.469 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.749e-05/0.6374, allocations: 77.11 kB / 0.6536 GB, free: 7.375 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.357e-05/0.6374, allocations: 3.984 kB / 0.6536 GB, free: 7.371 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.46e-05/0.6374, allocations: 0 / 0.6536 GB, free: 7.371 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.65e-05/0.6374, allocations: 7.5 kB / 0.6536 GB, free: 7.367 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.685e-06/0.6374, allocations: 4.031 kB / 0.6536 GB, free: 7.363 MB / 458.7 MB Notification: Performance of sorting global known variables: time 2.509e-05/0.6375, allocations: 75.28 kB / 0.6537 GB, free: 7.289 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6375, allocations: 0 / 0.6537 GB, free: 7.289 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0001856/0.6377, allocations: 8 kB / 0.6537 GB, free: 7.281 MB / 458.7 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 () * 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.0003534/0.638, allocations: 0.6795 MB / 0.6544 GB, free: 6.57 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 5.85e-05/0.6381, allocations: 11.62 kB / 0.6544 GB, free: 6.562 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.6381, allocations: 0 / 0.6544 GB, free: 6.562 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 7.595e-06/0.6381, allocations: 4 kB / 0.6544 GB, free: 6.559 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001037/0.6382, allocations: 0 / 0.6544 GB, free: 6.559 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002634/0.6385, allocations: 94.67 kB / 0.6545 GB, free: 6.426 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002204/0.6387, allocations: 0.6729 MB / 0.6551 GB, free: 5.727 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 1.962e-05/0.6387, allocations: 4 kB / 0.6551 GB, free: 5.723 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.865e-05/0.6388, allocations: 7.438 kB / 0.6551 GB, free: 5.715 MB / 458.7 MB Notification: Performance of SimCode: time 2.41e-07/0.6388, allocations: 0 / 0.6551 GB, free: 5.715 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0186/0.6574, allocations: 452.9 kB / 0.6556 GB, free: 5.281 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001952/0.6576, allocations: 130.7 kB / 0.6557 GB, free: 5.086 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.402/2.06, allocations: 4 kB / 0.6557 GB, free: 5.082 MB / 458.7 MB (rm -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example8.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example8.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example8.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example8.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Examples_Performance_Example8_fmu --startTime=0 --stopTime=50 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Examples_Performance_Example8.fmu > IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example8.pipe 2>&1)