Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.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 Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.587/2.587, allocations: 284.9 MB / 292.4 MB, free: 10.54 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001551/0.001551, allocations: 184.9 kB / 360.6 MB, free: 7.297 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.053/2.053, allocations: 205.3 MB / 0.6191 GB, free: 12.19 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00146/0.00146, allocations: 85.66 kB / 0.7321 GB, free: 44.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.274e-05/4.284e-05, allocations: 8 kB / 0.8509 GB, free: 3.332 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8123/0.8123, allocations: 115.3 MB / 0.9634 GB, free: 78.6 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2368/1.049, allocations: 139 MB / 1.099 GB, free: 1.449 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003211/1.05, allocations: 80.83 kB / 1.099 GB, free: 1.371 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.02626/1.076, allocations: 5.236 MB / 1.104 GB, free: 12.2 MB / 0.7136 GB Notification: Performance of FrontEnd: time 4.609e-06/1.076, allocations: 0 / 1.104 GB, free: 12.2 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.1e-05/1.076, allocations: 3.938 kB / 1.104 GB, free: 12.2 MB / 0.7136 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.0006239/1.077, allocations: 395.5 kB / 1.105 GB, free: 11.77 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.619e-05/1.077, allocations: 12.03 kB / 1.105 GB, free: 11.76 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001352/1.077, allocations: 7.906 kB / 1.105 GB, free: 11.75 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003271/1.077, allocations: 202.8 kB / 1.105 GB, free: 11.51 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.259e-05/1.077, allocations: 0 / 1.105 GB, free: 11.51 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.178e-05/1.077, allocations: 4 kB / 1.105 GB, free: 11.51 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000137/1.077, allocations: 23.98 kB / 1.105 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001226/1.077, allocations: 49.69 kB / 1.105 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/1.077, allocations: 0 / 1.105 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.272e-05/1.077, allocations: 4 kB / 1.105 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/1.078, allocations: 0.75 kB / 1.105 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006542/1.078, allocations: 277.3 kB / 1.105 GB, free: 11.12 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001341/1.078, allocations: 50.56 kB / 1.105 GB, free: 11.06 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.638e-05/1.078, allocations: 16.98 kB / 1.105 GB, free: 11.04 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.004e-05/1.078, allocations: 4 kB / 1.105 GB, free: 11.04 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.967e-05/1.079, allocations: 30.56 kB / 1.105 GB, free: 11 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=5): time 1.693e-06/1.079, allocations: 0 / 1.105 GB, free: 11 MB / 0.7136 GB Notification: Performance of matching and sorting (n=5): time 0.00028/1.079, allocations: 67.09 kB / 1.105 GB, free: 10.93 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.411e-05/1.079, allocations: 54.69 kB / 1.106 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001315/1.079, allocations: 119.6 kB / 1.106 GB, free: 10.74 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.809e-05/1.079, allocations: 33.7 kB / 1.106 GB, free: 10.7 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.368e-05/1.079, allocations: 92.05 kB / 1.106 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.376e-05/1.079, allocations: 19.73 kB / 1.106 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.893e-06/1.079, allocations: 0 / 1.106 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001635/1.079, allocations: 318.8 kB / 1.106 GB, free: 10.27 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.084e-05/1.079, allocations: 15.98 kB / 1.106 GB, free: 10.25 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.452e-05/1.079, allocations: 16 kB / 1.106 GB, free: 10.23 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.381e-05/1.08, allocations: 12 kB / 1.106 GB, free: 10.22 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/1.08, allocations: 0 / 1.106 GB, free: 10.22 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002083/1.08, allocations: 69.59 kB / 1.106 GB, free: 10.15 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/1.08, allocations: 4 kB / 1.106 GB, free: 10.14 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/1.08, allocations: 3.562 kB / 1.106 GB, free: 10.14 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/1.08, allocations: 3.938 kB / 1.106 GB, free: 10.14 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001996/1.08, allocations: 23.98 kB / 1.106 GB, free: 10.12 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.212e-05/1.08, allocations: 2.5 kB / 1.106 GB, free: 10.12 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001071/1.08, allocations: 11.92 kB / 1.106 GB, free: 10.11 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.117e-05/1.08, allocations: 0 / 1.106 GB, free: 10.11 MB / 0.7136 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.7e-05/1.08, allocations: 116.7 kB / 1.106 GB, free: 9.984 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000201/1.081, allocations: 61.59 kB / 1.106 GB, free: 9.918 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.24e-05/1.081, allocations: 7.906 kB / 1.106 GB, free: 9.91 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002529/1.081, allocations: 82.02 kB / 1.106 GB, free: 9.82 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/1.081, allocations: 0 / 1.106 GB, free: 9.82 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.265e-06/1.081, allocations: 3.984 kB / 1.106 GB, free: 9.816 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/1.081, allocations: 3.953 kB / 1.106 GB, free: 9.812 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002345/1.081, allocations: 162.2 kB / 1.107 GB, free: 9.617 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/1.081, allocations: 0 / 1.107 GB, free: 9.617 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000149/1.081, allocations: 16 kB / 1.107 GB, free: 9.602 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/1.081, allocations: 0 / 1.107 GB, free: 9.602 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.608e-05/1.081, allocations: 7.984 kB / 1.107 GB, free: 9.594 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/1.081, allocations: 0 / 1.107 GB, free: 9.594 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/1.081, allocations: 0 / 1.107 GB, free: 9.594 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002648/1.082, allocations: 171.1 kB / 1.107 GB, free: 9.414 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.411e-05/1.082, allocations: 88.95 kB / 1.107 GB, free: 9.309 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.403e-05/1.082, allocations: 6.906 kB / 1.107 GB, free: 9.305 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001453/1.082, allocations: 7.984 kB / 1.107 GB, free: 9.297 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.717e-05/1.082, allocations: 4 kB / 1.107 GB, free: 9.293 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.166e-05/1.082, allocations: 0 / 1.107 GB, free: 9.293 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 8.611e-05/1.082, allocations: 104 kB / 1.107 GB, free: 9.191 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.01e-07/1.082, allocations: 0 / 1.107 GB, free: 9.191 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003703/1.083, allocations: 24 kB / 1.107 GB, free: 9.168 MB / 0.7136 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.0007047/1.083, allocations: 0.7162 MB / 1.108 GB, free: 8.426 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001565/1.083, allocations: 39.92 kB / 1.108 GB, free: 8.387 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/1.083, allocations: 0 / 1.108 GB, free: 8.387 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 6.616e-05/1.084, allocations: 16 kB / 1.108 GB, free: 8.371 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003004/1.084, allocations: 10.06 kB / 1.108 GB, free: 8.363 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005659/1.084, allocations: 143.8 kB / 1.108 GB, free: 8.188 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003637/1.085, allocations: 0.6963 MB / 1.109 GB, free: 7.465 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 7.959e-05/1.085, allocations: 4.188 kB / 1.109 GB, free: 7.461 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.195e-05/1.085, allocations: 23.42 kB / 1.109 GB, free: 7.438 MB / 0.7136 GB Notification: Performance of SimCode: time 7.01e-07/1.085, allocations: 0 / 1.109 GB, free: 7.438 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04161/1.127, allocations: 1.647 MB / 1.11 GB, free: 5.844 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003245/1.127, allocations: 154.4 kB / 1.11 GB, free: 5.656 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.33/3.457, allocations: 0 / 1.11 GB, free: 5.656 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.fmu > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1)