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/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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/BuildSysPro 3.5.0/package.mo): time 0.7353/0.7353, allocations: 127.4 MB / 134.9 MB, free: 3.738 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001064/0.001064, allocations: 176.9 kB / 164.7 MB, free: 6.527 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.727/1.727, allocations: 205.2 MB / 399.5 MB, free: 5.938 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009338/0.0009342, allocations: 94.08 kB / 476.7 MB, free: 8.668 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 2.619e-05/2.623e-05, allocations: 4 kB / 0.5467 GB, free: 60.41 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1594/0.1595, allocations: 76.77 MB / 0.6216 GB, free: 15.58 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5521/0.7117, allocations: 101.3 MB / 0.7206 GB, free: 14.03 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002061/0.7119, allocations: 76.73 kB / 0.7206 GB, free: 13.99 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00104/0.713, allocations: 481.8 kB / 0.7211 GB, free: 13.55 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.713, allocations: 4 kB / 0.7211 GB, free: 13.54 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.122e-06/0.713, allocations: 0 / 0.7211 GB, free: 13.54 MB / 490.7 MB 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.0003134/0.7133, allocations: 320.1 kB / 0.7214 GB, free: 13.19 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.717e-05/0.7134, allocations: 8.031 kB / 0.7214 GB, free: 13.18 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.458e-05/0.7134, allocations: 7.953 kB / 0.7214 GB, free: 13.18 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002288/0.7137, allocations: 175.8 kB / 0.7216 GB, free: 12.96 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.208e-06/0.7137, allocations: 0 / 0.7216 GB, free: 12.96 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.257e-05/0.7137, allocations: 3.75 kB / 0.7216 GB, free: 12.96 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.717e-05/0.7137, allocations: 7.984 kB / 0.7216 GB, free: 12.96 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.853e-05/0.7138, allocations: 29.7 kB / 0.7216 GB, free: 12.92 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.703e-06/0.7138, allocations: 0 / 0.7216 GB, free: 12.92 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.906e-06/0.7138, allocations: 0.75 kB / 0.7216 GB, free: 12.92 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.7139, allocations: 4 kB / 0.7216 GB, free: 12.92 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001539/0.714, allocations: 130.2 kB / 0.7218 GB, free: 12.75 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.499e-05/0.7141, allocations: 22.59 kB / 0.7218 GB, free: 12.72 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.015e-05/0.7141, allocations: 16.61 kB / 0.7218 GB, free: 12.71 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.614e-05/0.7141, allocations: 4 kB / 0.7218 GB, free: 12.7 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.327e-05/0.7141, allocations: 30.56 kB / 0.7218 GB, free: 12.66 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 1.142e-06/0.7142, allocations: 2.188 kB / 0.7218 GB, free: 12.66 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001302/0.7143, allocations: 45.53 kB / 0.7219 GB, free: 12.61 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.721e-05/0.7143, allocations: 51.41 kB / 0.7219 GB, free: 12.55 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.684e-05/0.7144, allocations: 104.8 kB / 0.722 GB, free: 12.45 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.191e-05/0.7144, allocations: 25.7 kB / 0.722 GB, free: 12.42 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.223e-05/0.7145, allocations: 84.14 kB / 0.7221 GB, free: 12.33 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.008e-05/0.7145, allocations: 7.281 kB / 0.7221 GB, free: 12.33 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.796e-06/0.7145, allocations: 0 / 0.7221 GB, free: 12.33 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001125/0.7146, allocations: 314.8 kB / 0.7224 GB, free: 12.01 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.306e-05/0.7147, allocations: 4 kB / 0.7224 GB, free: 12.01 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.687e-05/0.7147, allocations: 17.7 kB / 0.7224 GB, free: 11.98 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.729e-05/0.7147, allocations: 10.94 kB / 0.7225 GB, free: 11.98 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.7147, allocations: 64 / 0.7225 GB, free: 11.98 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.251e-05/0.7148, allocations: 49.59 kB / 0.7225 GB, free: 11.92 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.7148, allocations: 4 kB / 0.7225 GB, free: 11.92 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.7148, allocations: 3.984 kB / 0.7225 GB, free: 11.91 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.7148, allocations: 0 / 0.7225 GB, free: 11.91 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.193e-05/0.7149, allocations: 4 kB / 0.7225 GB, free: 11.91 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.7149, allocations: 0 / 0.7225 GB, free: 11.91 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.473e-05/0.715, allocations: 8.641 kB / 0.7225 GB, free: 11.9 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.403e-06/0.715, allocations: 0 / 0.7225 GB, free: 11.9 MB / 490.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.262e-05/0.715, allocations: 116.9 kB / 0.7226 GB, free: 11.78 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 5.424e-05/0.7151, allocations: 37.69 kB / 0.7227 GB, free: 11.74 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.193e-06/0.7151, allocations: 4 kB / 0.7227 GB, free: 11.73 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.233e-05/0.7152, allocations: 44.56 kB / 0.7227 GB, free: 11.69 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.7152, allocations: 3.938 kB / 0.7227 GB, free: 11.69 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.7152, allocations: 0 / 0.7227 GB, free: 11.69 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.7152, allocations: 0 / 0.7227 GB, free: 11.69 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.521e-05/0.7153, allocations: 141.3 kB / 0.7229 GB, free: 11.52 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.7153, allocations: 3.938 kB / 0.7229 GB, free: 11.51 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.033e-05/0.7154, allocations: 12.05 kB / 0.7229 GB, free: 11.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.7154, allocations: 0 / 0.7229 GB, free: 11.5 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.542e-06/0.7154, allocations: 0 / 0.7229 GB, free: 11.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.7154, allocations: 0 / 0.7229 GB, free: 11.5 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.7154, allocations: 0 / 0.7229 GB, free: 11.5 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001257/0.7156, allocations: 79.73 kB / 0.7229 GB, free: 11.41 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.603e-05/0.7156, allocations: 81.14 kB / 0.723 GB, free: 11.31 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.394e-05/0.7156, allocations: 3.984 kB / 0.723 GB, free: 11.31 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.984e-05/0.7157, allocations: 4.094 kB / 0.723 GB, free: 11.3 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.172e-05/0.7157, allocations: 0 / 0.723 GB, free: 11.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.355e-06/0.7157, allocations: 0 / 0.723 GB, free: 11.3 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.896e-05/0.7157, allocations: 86.84 kB / 0.7231 GB, free: 11.22 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.7157, allocations: 0 / 0.7231 GB, free: 11.22 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001769/0.7159, allocations: 7.938 kB / 0.7231 GB, free: 11.21 MB / 490.7 MB 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 () * 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.0003555/0.7163, allocations: 0.6183 MB / 0.7237 GB, free: 10.57 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 6.994e-05/0.7164, allocations: 11.98 kB / 0.7237 GB, free: 10.56 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.7164, allocations: 2.656 kB / 0.7237 GB, free: 10.56 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 1.691e-05/0.7164, allocations: 11.94 kB / 0.7238 GB, free: 10.55 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001091/0.7165, allocations: 3.125 kB / 0.7238 GB, free: 10.55 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003076/0.7168, allocations: 103.7 kB / 0.7239 GB, free: 10.41 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002377/0.7171, allocations: 0.6848 MB / 0.7245 GB, free: 9.699 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 1.546e-05/0.7171, allocations: 3.938 kB / 0.7245 GB, free: 9.695 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.607e-05/0.7172, allocations: 18.8 kB / 0.7245 GB, free: 9.68 MB / 490.7 MB Notification: Performance of SimCode: time 2.4e-07/0.7172, allocations: 0 / 0.7245 GB, free: 9.68 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0181/0.7353, allocations: 0.6717 MB / 0.7252 GB, free: 9.02 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001861/0.7355, allocations: 135.3 kB / 0.7253 GB, free: 8.832 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.516/2.251, allocations: 0 / 0.7253 GB, free: 8.832 MB / 490.7 MB (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)