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.427/1.427, allocations: 249.5 MB / 257 MB, free: 6.832 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.001024/0.001024, allocations: 179.4 kB / 316.3 MB, free: 3.238 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.7/1.7, 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.0008748/0.000875, allocations: 93.89 kB / 0.6714 GB, free: 4.977 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.621e-05/2.623e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2256/0.2257, allocations: 106.3 MB / 0.8853 GB, free: 12.17 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.79/1.016, allocations: 133.8 MB / 1.016 GB, free: 3.578 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002992/1.016, allocations: 86.31 kB / 1.016 GB, free: 3.527 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01497/1.031, allocations: 5.229 MB / 1.021 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.843e-06/1.031, allocations: 0 / 1.021 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.316e-05/1.031, allocations: 3.984 kB / 1.021 GB, free: 15.17 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.0004443/1.032, allocations: 396.8 kB / 1.022 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.732e-05/1.032, allocations: 20.02 kB / 1.022 GB, free: 14.73 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001073/1.032, allocations: 7.906 kB / 1.022 GB, free: 14.72 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002154/1.032, allocations: 190.3 kB / 1.022 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.132e-05/1.032, allocations: 0 / 1.022 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.232e-05/1.032, allocations: 7.938 kB / 1.022 GB, free: 14.49 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.402e-05/1.032, allocations: 22.36 kB / 1.022 GB, free: 14.47 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.921e-05/1.032, allocations: 48.75 kB / 1.022 GB, free: 14.43 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.675e-06/1.032, allocations: 0 / 1.022 GB, free: 14.43 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.034e-05/1.032, allocations: 0 / 1.022 GB, free: 14.43 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.547e-06/1.032, allocations: 4 kB / 1.022 GB, free: 14.42 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004339/1.033, allocations: 291.3 kB / 1.022 GB, free: 14.12 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 9.113e-05/1.033, allocations: 48.25 kB / 1.022 GB, free: 14.07 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.541e-05/1.033, allocations: 23.55 kB / 1.022 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 1.865e-05/1.033, allocations: 0 / 1.022 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.821e-05/1.033, allocations: 30.56 kB / 1.022 GB, free: 14.01 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=5): time 9.42e-07/1.033, allocations: 0 / 1.022 GB, free: 14.01 MB / 0.6511 GB Notification: Performance of matching and sorting (n=5): time 0.0001956/1.033, allocations: 63.47 kB / 1.022 GB, free: 13.95 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.685e-05/1.033, allocations: 51.41 kB / 1.022 GB, free: 13.89 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.697e-05/1.033, allocations: 121.6 kB / 1.022 GB, free: 13.77 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.519e-05/1.033, allocations: 25.7 kB / 1.023 GB, free: 13.74 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 4.634e-05/1.033, allocations: 95.06 kB / 1.023 GB, free: 13.65 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 1.854e-05/1.033, allocations: 15.75 kB / 1.023 GB, free: 13.64 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.029e-06/1.033, allocations: 1.031 kB / 1.023 GB, free: 13.64 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 9.679e-05/1.033, allocations: 322.2 kB / 1.023 GB, free: 13.32 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.765e-05/1.034, allocations: 19.06 kB / 1.023 GB, free: 13.3 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.269e-05/1.034, allocations: 11.31 kB / 1.023 GB, free: 13.3 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.315e-05/1.034, allocations: 13.62 kB / 1.023 GB, free: 13.29 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/1.034, allocations: 0 / 1.023 GB, free: 13.29 MB / 0.6511 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001196/1.034, allocations: 67.97 kB / 1.023 GB, free: 13.23 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/1.034, allocations: 11.98 kB / 1.023 GB, free: 13.21 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/1.034, allocations: 0 / 1.023 GB, free: 13.21 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/1.034, allocations: 4 kB / 1.023 GB, free: 13.21 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001196/1.034, allocations: 15.98 kB / 1.023 GB, free: 13.2 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.069e-06/1.034, allocations: 3.938 kB / 1.023 GB, free: 13.19 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.953e-05/1.034, allocations: 7.906 kB / 1.023 GB, free: 13.18 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.243e-06/1.034, allocations: 0 / 1.023 GB, free: 13.18 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.425e-05/1.034, allocations: 116.9 kB / 1.023 GB, free: 13.06 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001187/1.034, allocations: 60.06 kB / 1.023 GB, free: 13.01 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.478e-05/1.034, allocations: 7.906 kB / 1.023 GB, free: 13 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001614/1.034, allocations: 82.25 kB / 1.023 GB, free: 12.92 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/1.034, allocations: 3.938 kB / 1.023 GB, free: 12.92 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/1.034, allocations: 0 / 1.023 GB, free: 12.92 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/1.034, allocations: 3.953 kB / 1.023 GB, free: 12.91 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001425/1.035, allocations: 159.9 kB / 1.023 GB, free: 12.73 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/1.035, allocations: 0 / 1.023 GB, free: 12.73 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.753e-05/1.035, allocations: 27.92 kB / 1.024 GB, free: 12.7 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/1.035, allocations: 4 kB / 1.024 GB, free: 12.7 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.135e-06/1.035, allocations: 0 / 1.024 GB, free: 12.7 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/1.035, allocations: 0 / 1.024 GB, free: 12.7 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/1.035, allocations: 0 / 1.024 GB, free: 12.7 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001587/1.035, allocations: 164.3 kB / 1.024 GB, free: 12.54 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 3.717e-05/1.035, allocations: 85.05 kB / 1.024 GB, free: 12.43 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.941e-05/1.035, allocations: 3.984 kB / 1.024 GB, free: 12.43 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.206e-05/1.035, allocations: 8 kB / 1.024 GB, free: 12.42 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.323e-05/1.035, allocations: 7.984 kB / 1.024 GB, free: 12.41 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.568e-06/1.035, allocations: 0 / 1.024 GB, free: 12.41 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 5.399e-05/1.035, allocations: 99.53 kB / 1.024 GB, free: 12.32 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.61e-07/1.035, allocations: 0 / 1.024 GB, free: 12.32 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002391/1.035, allocations: 23.98 kB / 1.024 GB, free: 12.3 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.0004734/1.036, allocations: 0.7206 MB / 1.025 GB, free: 11.57 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001059/1.036, allocations: 32.61 kB / 1.025 GB, free: 11.55 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/1.036, allocations: 4 kB / 1.025 GB, free: 11.54 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 4.078e-05/1.036, allocations: 22.44 kB / 1.025 GB, free: 11.53 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002228/1.036, allocations: 11.23 kB / 1.025 GB, free: 11.52 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004031/1.037, allocations: 138.3 kB / 1.025 GB, free: 11.36 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002164/1.037, allocations: 0.6924 MB / 1.025 GB, free: 10.64 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 5.085e-05/1.037, allocations: 8.875 kB / 1.025 GB, free: 10.63 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.747e-05/1.037, allocations: 24.73 kB / 1.026 GB, free: 10.62 MB / 0.6511 GB Notification: Performance of SimCode: time 2.51e-07/1.037, allocations: 3.938 kB / 1.026 GB, free: 10.61 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01934/1.056, allocations: 1.658 MB / 1.027 GB, free: 8.977 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001953/1.057, allocations: 163.8 kB / 1.027 GB, free: 8.785 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.48/2.536, allocations: 32 / 1.027 GB, free: 8.785 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)