Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.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.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",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.7746/0.7746, allocations: 127.4 MB / 134.9 MB, free: 3.418 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.001188/0.001188, allocations: 184.9 kB / 164.7 MB, free: 11.61 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.966/1.966, allocations: 205.2 MB / 399.5 MB, free: 13.58 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.0009133/0.0009135, allocations: 96.53 kB / 476.7 MB, free: 1.527 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 2.53e-05/2.516e-05, allocations: 2.5 kB / 0.5467 GB, free: 95.44 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1962/0.1963, allocations: 76.77 MB / 0.6216 GB, free: 43.02 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1546/0.3509, allocations: 103.9 MB / 0.7231 GB, free: 2.996 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003259/0.3513, allocations: 83.94 kB / 0.7232 GB, free: 2.914 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.01651/0.3679, allocations: 5.543 MB / 0.7286 GB, free: 13.36 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.563e-06/0.3679, allocations: 4 kB / 0.7286 GB, free: 13.36 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.369e-05/0.3679, allocations: 4 kB / 0.7286 GB, free: 13.36 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005204/0.3685, allocations: 390.2 kB / 0.729 GB, free: 12.93 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.673e-05/0.3685, allocations: 8.031 kB / 0.729 GB, free: 12.92 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001424/0.3687, allocations: 11.86 kB / 0.729 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002773/0.369, allocations: 198.9 kB / 0.7292 GB, free: 12.68 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.229e-05/0.369, allocations: 4 kB / 0.7292 GB, free: 12.67 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.636e-05/0.369, allocations: 3.984 kB / 0.7292 GB, free: 12.67 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000106/0.3691, allocations: 24 kB / 0.7292 GB, free: 12.64 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001048/0.3692, allocations: 45.67 kB / 0.7292 GB, free: 12.59 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.3693, allocations: 0 / 0.7292 GB, free: 12.59 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.567e-05/0.3693, allocations: 3.953 kB / 0.7292 GB, free: 12.59 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.665e-06/0.3693, allocations: 4 kB / 0.7292 GB, free: 12.59 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005361/0.3698, allocations: 285.3 kB / 0.7295 GB, free: 12.27 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001039/0.37, allocations: 46.52 kB / 0.7296 GB, free: 12.21 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.943e-05/0.37, allocations: 16.98 kB / 0.7296 GB, free: 12.2 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.981e-05/0.37, allocations: 0 / 0.7296 GB, free: 12.2 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.266e-05/0.3701, allocations: 34.55 kB / 0.7296 GB, free: 12.15 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=5): time 8.12e-07/0.3701, allocations: 8 kB / 0.7296 GB, free: 12.14 MB / 0.5105 GB Notification: Performance of matching and sorting (n=5): time 0.0002324/0.3703, allocations: 69.55 kB / 0.7297 GB, free: 12.07 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.65e-05/0.3704, allocations: 51.41 kB / 0.7297 GB, free: 12.01 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001131/0.3705, allocations: 114 kB / 0.7298 GB, free: 11.89 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.838e-05/0.3705, allocations: 25.7 kB / 0.7299 GB, free: 11.86 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 6.877e-05/0.3706, allocations: 92.14 kB / 0.73 GB, free: 11.76 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.737e-05/0.3706, allocations: 11.75 kB / 0.73 GB, free: 11.75 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.57e-06/0.3706, allocations: 0 / 0.73 GB, free: 11.75 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001441/0.3708, allocations: 326.8 kB / 0.7303 GB, free: 11.42 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.043e-05/0.3708, allocations: 12 kB / 0.7303 GB, free: 11.41 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.444e-05/0.3708, allocations: 8 kB / 0.7303 GB, free: 11.4 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.129e-05/0.3709, allocations: 19.98 kB / 0.7303 GB, free: 11.38 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.3709, allocations: 0 / 0.7303 GB, free: 11.38 MB / 0.5105 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001303/0.371, allocations: 65.59 kB / 0.7304 GB, free: 11.31 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.14e-05/0.3711, allocations: 13.97 kB / 0.7304 GB, free: 11.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.3711, allocations: 0 / 0.7304 GB, free: 11.3 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.3711, allocations: 0 / 0.7304 GB, free: 11.3 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001347/0.3712, allocations: 19.98 kB / 0.7304 GB, free: 11.28 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.373e-06/0.3713, allocations: 3.953 kB / 0.7304 GB, free: 11.28 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.519e-05/0.3713, allocations: 11.84 kB / 0.7304 GB, free: 11.27 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.202e-05/0.3713, allocations: 11.98 kB / 0.7304 GB, free: 11.25 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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 9.017e-05/0.3714, allocations: 104.9 kB / 0.7305 GB, free: 11.14 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001378/0.3716, allocations: 69.88 kB / 0.7306 GB, free: 11.07 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.591e-05/0.3716, allocations: 7.906 kB / 0.7306 GB, free: 11.06 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001845/0.3718, allocations: 82.03 kB / 0.7307 GB, free: 10.98 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.3718, allocations: 0 / 0.7307 GB, free: 10.98 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.3718, allocations: 0 / 0.7307 GB, free: 10.98 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/0.3719, allocations: 4 kB / 0.7307 GB, free: 10.97 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001838/0.3721, allocations: 166.1 kB / 0.7309 GB, free: 10.77 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.3721, allocations: 0 / 0.7309 GB, free: 10.77 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001105/0.3722, allocations: 15.98 kB / 0.7309 GB, free: 10.76 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.3722, allocations: 0 / 0.7309 GB, free: 10.76 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.809e-06/0.3722, allocations: 0 / 0.7309 GB, free: 10.76 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.3722, allocations: 0 / 0.7309 GB, free: 10.76 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.579e-06/0.3722, allocations: 7.953 kB / 0.7309 GB, free: 10.75 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001929/0.3724, allocations: 171.4 kB / 0.731 GB, free: 10.57 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.788e-05/0.3725, allocations: 81.02 kB / 0.7311 GB, free: 10.47 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.963e-05/0.3725, allocations: 0 / 0.7311 GB, free: 10.47 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.822e-05/0.3726, allocations: 8 kB / 0.7311 GB, free: 10.46 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.271e-05/0.3726, allocations: 3.984 kB / 0.7311 GB, free: 10.46 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.969e-06/0.3727, allocations: 7.953 kB / 0.7311 GB, free: 10.45 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 6.951e-05/0.3727, allocations: 99.27 kB / 0.7312 GB, free: 10.35 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3728, allocations: 4 kB / 0.7312 GB, free: 10.35 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002482/0.373, allocations: 23.94 kB / 0.7313 GB, free: 10.32 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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.0005882/0.3736, allocations: 0.7085 MB / 0.7319 GB, free: 9.59 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001378/0.3737, allocations: 32.25 kB / 0.732 GB, free: 9.559 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.3738, allocations: 8 kB / 0.732 GB, free: 9.551 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 4.123e-05/0.3738, allocations: 23.92 kB / 0.732 GB, free: 9.527 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002485/0.3741, allocations: 8 kB / 0.732 GB, free: 9.52 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004774/0.3745, allocations: 137.6 kB / 0.7321 GB, free: 9.348 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003447/0.3749, allocations: 0.6885 MB / 0.7328 GB, free: 8.633 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 5.379e-05/0.375, allocations: 16.16 kB / 0.7328 GB, free: 8.617 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.606e-05/0.375, allocations: 19.44 kB / 0.7329 GB, free: 8.598 MB / 0.5105 GB Notification: Performance of SimCode: time 2.9e-07/0.375, allocations: 0 / 0.7329 GB, free: 8.598 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02054/0.3956, allocations: 1.66 MB / 0.7345 GB, free: 6.949 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002029/0.3959, allocations: 170.4 kB / 0.7346 GB, free: 6.75 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.743/2.139, allocations: 0 / 0.7346 GB, free: 6.75 MB / 0.5105 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1)