Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.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.HADryCoil,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",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.42/1.42, allocations: 249.5 MB / 257 MB, free: 6.969 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.001077/0.001077, allocations: 173 kB / 316.3 MB, free: 3.309 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.708/1.708, allocations: 205.3 MB / 0.5671 GB, free: 15.86 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.001132/0.001133, allocations: 98.17 kB / 0.6714 GB, free: 4.969 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.236e-05/2.237e-05, allocations: 8 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.224/0.2241, allocations: 106.4 MB / 0.8853 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7724/0.9965, allocations: 134.4 MB / 1.017 GB, free: 3.164 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002341/0.9968, allocations: 90.48 kB / 1.017 GB, free: 3.109 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02146/1.018, allocations: 7.483 MB / 1.024 GB, free: 12.84 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.285e-06/1.018, allocations: 0 / 1.024 GB, free: 12.84 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.826e-05/1.018, allocations: 4 kB / 1.024 GB, free: 12.84 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001069/1.019, allocations: 0.5589 MB / 1.024 GB, free: 12.25 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 6.274e-05/1.02, allocations: 8.031 kB / 1.024 GB, free: 12.24 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002915/1.02, allocations: 31.7 kB / 1.025 GB, free: 12.21 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005085/1.02, allocations: 297 kB / 1.025 GB, free: 11.89 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.562e-05/1.02, allocations: 11.94 kB / 1.025 GB, free: 11.88 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.716e-05/1.02, allocations: 11.94 kB / 1.025 GB, free: 11.87 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002021/1.021, allocations: 93.36 kB / 1.025 GB, free: 11.81 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002634/1.021, allocations: 158 kB / 1.025 GB, free: 11.66 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/1.021, allocations: 7.938 kB / 1.025 GB, free: 11.65 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.932e-05/1.021, allocations: 0 / 1.025 GB, free: 11.65 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.747e-06/1.021, allocations: 4 kB / 1.025 GB, free: 11.65 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001195/1.022, allocations: 0.9301 MB / 1.026 GB, free: 10.74 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004797/1.023, allocations: 188.5 kB / 1.026 GB, free: 10.58 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.266e-05/1.023, allocations: 52.12 kB / 1.026 GB, free: 10.54 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.941e-05/1.023, allocations: 7.984 kB / 1.026 GB, free: 10.53 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.359e-05/1.023, allocations: 30.56 kB / 1.026 GB, free: 10.49 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=16): time 1.393e-06/1.023, allocations: 0 / 1.026 GB, free: 10.49 MB / 0.6511 GB Notification: Performance of matching and sorting (n=16): time 0.0004211/1.023, allocations: 145.2 kB / 1.026 GB, free: 10.37 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.875e-05/1.023, allocations: 81.11 kB / 1.026 GB, free: 10.27 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002157/1.024, allocations: 223.5 kB / 1.027 GB, free: 10.09 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.226e-05/1.024, allocations: 25.7 kB / 1.027 GB, free: 10.05 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 9.889e-05/1.024, allocations: 157.8 kB / 1.027 GB, free: 9.934 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.976e-05/1.024, allocations: 53.81 kB / 1.027 GB, free: 9.887 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.528e-06/1.024, allocations: 0 / 1.027 GB, free: 9.887 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001793/1.024, allocations: 339.2 kB / 1.027 GB, free: 9.559 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001224/1.024, allocations: 39.36 kB / 1.027 GB, free: 9.535 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001447/1.024, allocations: 98.78 kB / 1.027 GB, free: 9.438 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001765/1.024, allocations: 44.92 kB / 1.027 GB, free: 9.41 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/1.024, allocations: 0 / 1.027 GB, free: 9.41 MB / 0.6511 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004827/1.025, allocations: 187.2 kB / 1.028 GB, free: 9.25 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.194e-05/1.025, allocations: 4 kB / 1.028 GB, free: 9.246 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/1.025, allocations: 0 / 1.028 GB, free: 9.246 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/1.025, allocations: 4 kB / 1.028 GB, free: 9.242 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003161/1.025, allocations: 71.7 kB / 1.028 GB, free: 9.176 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.068e-05/1.025, allocations: 12.11 kB / 1.028 GB, free: 9.164 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002389/1.026, allocations: 43.91 kB / 1.028 GB, free: 9.121 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.63e-05/1.026, allocations: 7.938 kB / 1.028 GB, free: 9.113 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * 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 8.913e-05/1.026, allocations: 112.9 kB / 1.028 GB, free: 9 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003181/1.026, allocations: 148.8 kB / 1.028 GB, free: 8.871 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.497e-05/1.026, allocations: 31.09 kB / 1.028 GB, free: 8.844 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003558/1.026, allocations: 187.5 kB / 1.028 GB, free: 8.684 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/1.027, allocations: 0 / 1.028 GB, free: 8.684 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/1.027, allocations: 4 kB / 1.028 GB, free: 8.68 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/1.027, allocations: 0 / 1.028 GB, free: 8.68 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003047/1.027, allocations: 254.9 kB / 1.028 GB, free: 8.43 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/1.027, allocations: 7.953 kB / 1.028 GB, free: 8.422 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000276/1.027, allocations: 63.95 kB / 1.028 GB, free: 8.359 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/1.027, allocations: 0 / 1.028 GB, free: 8.359 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.31e-05/1.027, allocations: 0 / 1.028 GB, free: 8.359 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/1.027, allocations: 4 kB / 1.028 GB, free: 8.355 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/1.027, allocations: 0 / 1.028 GB, free: 8.355 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003969/1.028, allocations: 351.3 kB / 1.029 GB, free: 8.023 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.496e-05/1.028, allocations: 104.7 kB / 1.029 GB, free: 7.902 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.654e-05/1.028, allocations: 4 kB / 1.029 GB, free: 7.898 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002907/1.028, allocations: 39.39 kB / 1.029 GB, free: 7.863 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.262e-05/1.028, allocations: 15.73 kB / 1.029 GB, free: 7.852 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.358e-05/1.028, allocations: 7.984 kB / 1.029 GB, free: 7.844 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001421/1.028, allocations: 168.2 kB / 1.029 GB, free: 7.707 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.9e-07/1.028, allocations: 4 kB / 1.029 GB, free: 7.703 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003464/1.029, allocations: 52.16 kB / 1.029 GB, free: 7.652 MB / 0.6511 GB 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 (20): * Single equations (assignments): 20 * 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.000753/1.029, allocations: 0.9698 MB / 1.03 GB, free: 6.688 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002346/1.03, allocations: 122.6 kB / 1.03 GB, free: 6.602 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/1.03, allocations: 0 / 1.03 GB, free: 6.602 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001101/1.03, allocations: 67.25 kB / 1.03 GB, free: 6.555 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004559/1.03, allocations: 64.45 kB / 1.03 GB, free: 6.5 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007776/1.031, allocations: 348.9 kB / 1.031 GB, free: 6.152 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002935/1.031, allocations: 0.7555 MB / 1.031 GB, free: 5.367 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001414/1.031, allocations: 26.08 kB / 1.031 GB, free: 5.34 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000123/1.032, allocations: 83.66 kB / 1.032 GB, free: 5.312 MB / 0.6511 GB Notification: Performance of SimCode: time 2.61e-07/1.032, allocations: 0 / 1.032 GB, free: 5.312 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02557/1.057, allocations: 5.267 MB / 1.037 GB, free: 136 kB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002668/1.058, allocations: 163.9 kB / 1.037 GB, free: 15.94 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.855/2.913, allocations: 0 / 1.037 GB, free: 15.94 MB / 0.6667 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil_fmu --startTime=0 --stopTime=80 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1)