Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.537/1.537, allocations: 249.3 MB / 261.8 MB, free: 5.938 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001573/0.001573, allocations: 178.1 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.819/1.819, allocations: 205.2 MB / 0.572 GB, free: 10.69 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009042/0.0009041, allocations: 92.3 kB / 0.6764 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.232e-05/4.235e-05, allocations: 7.984 kB / 0.788 GB, free: 97.01 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2719/0.2719, allocations: 106.3 MB / 0.8919 GB, free: 6.57 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8617/1.134, allocations: 133.5 MB / 1.022 GB, free: 1.227 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002264/1.134, allocations: 79.95 kB / 1.022 GB, free: 1.18 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01545/1.149, allocations: 5.253 MB / 1.028 GB, free: 12.73 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.522e-06/1.149, allocations: 0 / 1.028 GB, free: 12.73 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.244e-05/1.149, allocations: 3.938 kB / 1.028 GB, free: 12.72 MB / 0.6511 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.0004998/1.15, allocations: 409 kB / 1.028 GB, free: 12.29 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.778e-05/1.15, allocations: 8.031 kB / 1.028 GB, free: 12.28 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.233e-05/1.15, allocations: 34.55 kB / 1.028 GB, free: 12.23 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001078/1.15, allocations: 15.83 kB / 1.028 GB, free: 12.22 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002244/1.15, allocations: 194.5 kB / 1.028 GB, free: 11.99 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.087e-05/1.15, allocations: 3.375 kB / 1.028 GB, free: 11.99 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.421e-05/1.15, allocations: 4 kB / 1.028 GB, free: 11.99 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001349/1.151, allocations: 52.48 kB / 1.028 GB, free: 11.94 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/1.151, allocations: 0 / 1.028 GB, free: 11.94 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/1.151, allocations: 0 / 1.028 GB, free: 11.94 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/1.151, allocations: 0 / 1.028 GB, free: 11.94 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.652e-05/1.151, allocations: 28.69 kB / 1.028 GB, free: 11.92 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005016/1.151, allocations: 316.1 kB / 1.029 GB, free: 11.58 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 9.847e-05/1.151, allocations: 43.64 kB / 1.029 GB, free: 11.54 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.648e-05/1.151, allocations: 18.8 kB / 1.029 GB, free: 11.52 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 1.95e-05/1.151, allocations: 0 / 1.029 GB, free: 11.52 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.615e-05/1.152, allocations: 42.5 kB / 1.029 GB, free: 11.47 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=5): time 1.212e-06/1.152, allocations: 0 / 1.029 GB, free: 11.47 MB / 0.6511 GB Notification: Performance of matching and sorting (n=5): time 0.0002184/1.152, allocations: 70.55 kB / 1.029 GB, free: 11.41 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.571e-05/1.152, allocations: 51.41 kB / 1.029 GB, free: 11.35 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.163e-05/1.152, allocations: 118.5 kB / 1.029 GB, free: 11.23 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.808e-05/1.152, allocations: 25.7 kB / 1.029 GB, free: 11.2 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 5.808e-05/1.152, allocations: 98.19 kB / 1.029 GB, free: 11.11 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 1.932e-05/1.152, allocations: 15.75 kB / 1.029 GB, free: 11.09 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.61e-06/1.152, allocations: 7.312 kB / 1.029 GB, free: 11.09 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001194/1.152, allocations: 318.6 kB / 1.029 GB, free: 10.77 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.326e-05/1.152, allocations: 11.5 kB / 1.029 GB, free: 10.77 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.948e-05/1.152, allocations: 11.25 kB / 1.029 GB, free: 10.76 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.446e-05/1.152, allocations: 23.55 kB / 1.029 GB, free: 10.74 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/1.152, allocations: 0 / 1.029 GB, free: 10.74 MB / 0.6511 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001343/1.152, allocations: 75.72 kB / 1.029 GB, free: 10.67 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/1.152, allocations: 4 kB / 1.029 GB, free: 10.67 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/1.152, allocations: 0 / 1.029 GB, free: 10.67 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/1.152, allocations: 4 kB / 1.029 GB, free: 10.66 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001209/1.153, allocations: 15.98 kB / 1.029 GB, free: 10.65 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.147e-06/1.153, allocations: 7.953 kB / 1.029 GB, free: 10.64 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.101e-05/1.153, allocations: 11.41 kB / 1.029 GB, free: 10.63 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.925e-06/1.153, allocations: 0 / 1.029 GB, free: 10.63 MB / 0.6511 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 6.956e-05/1.153, allocations: 109 kB / 1.03 GB, free: 10.52 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.735e-05/1.153, allocations: 7.938 kB / 1.03 GB, free: 10.51 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001801/1.153, allocations: 91.23 kB / 1.03 GB, free: 10.43 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/1.153, allocations: 3.938 kB / 1.03 GB, free: 10.43 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/1.153, allocations: 0 / 1.03 GB, free: 10.43 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/1.153, allocations: 3.953 kB / 1.03 GB, free: 10.42 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001776/1.153, allocations: 175.9 kB / 1.03 GB, free: 10.21 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/1.153, allocations: 4 kB / 1.03 GB, free: 10.21 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.884e-05/1.153, allocations: 19.17 kB / 1.03 GB, free: 10.19 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/1.153, allocations: 0 / 1.03 GB, free: 10.19 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.034e-05/1.153, allocations: 0 / 1.03 GB, free: 10.19 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/1.153, allocations: 4 kB / 1.03 GB, free: 10.19 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/1.153, allocations: 0 / 1.03 GB, free: 10.19 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001899/1.154, allocations: 177.3 kB / 1.03 GB, free: 10.01 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.34e-05/1.154, allocations: 89.14 kB / 1.03 GB, free: 9.906 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.97e-05/1.154, allocations: 4 kB / 1.03 GB, free: 9.902 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.551e-05/1.154, allocations: 4 kB / 1.03 GB, free: 9.898 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.682e-05/1.154, allocations: 11.23 kB / 1.03 GB, free: 9.891 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.929e-06/1.154, allocations: 4 kB / 1.03 GB, free: 9.887 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 6.204e-05/1.154, allocations: 102.8 kB / 1.03 GB, free: 9.793 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.7e-07/1.154, allocations: 0 / 1.03 GB, free: 9.793 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002281/1.154, allocations: 22.75 kB / 1.03 GB, free: 9.773 MB / 0.6511 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.0005172/1.155, allocations: 0.7272 MB / 1.031 GB, free: 9.035 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001187/1.155, allocations: 42.38 kB / 1.031 GB, free: 9.008 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/1.155, allocations: 0 / 1.031 GB, free: 9.008 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 4.714e-05/1.155, allocations: 27.17 kB / 1.031 GB, free: 8.984 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002012/1.155, allocations: 7.438 kB / 1.031 GB, free: 8.98 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004338/1.155, allocations: 146.7 kB / 1.031 GB, free: 8.812 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002498/1.156, allocations: 0.7004 MB / 1.032 GB, free: 8.086 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 5.131e-05/1.156, allocations: 8.172 kB / 1.032 GB, free: 8.078 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.915e-05/1.156, allocations: 21.31 kB / 1.032 GB, free: 8.07 MB / 0.6511 GB Notification: Performance of SimCode: time 5.91e-07/1.156, allocations: 0 / 1.032 GB, free: 8.07 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01303/1.169, allocations: 1.993 MB / 1.034 GB, free: 6.219 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001752/1.169, allocations: 175.6 kB / 1.034 GB, free: 5.996 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.643/2.812, allocations: 0 / 1.034 GB, free: 5.996 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1)