Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.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.HADryCoil,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="Buildings_8_0_0_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 8.0.0/package.mo): time 2.542/2.542, allocations: 284.9 MB / 292.4 MB, free: 10.56 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.001621/0.001621, allocations: 180.9 kB / 360.6 MB, free: 7.277 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.115/2.115, 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.001115/0.001114, allocations: 97.52 kB / 0.7321 GB, free: 44.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.073e-05/3.077e-05, allocations: 4 kB / 0.8509 GB, free: 3.305 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8061/0.8061, allocations: 115.3 MB / 0.9634 GB, free: 78.62 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2366/1.043, allocations: 139.5 MB / 1.1 GB, free: 0.9492 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003305/1.043, allocations: 82.81 kB / 1.1 GB, free: 0.8711 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.03882/1.082, allocations: 7.483 MB / 1.107 GB, free: 9.445 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.765e-06/1.082, allocations: 3.938 kB / 1.107 GB, free: 9.441 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.36e-05/1.082, allocations: 12 kB / 1.107 GB, free: 9.43 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001587/1.084, allocations: 0.5565 MB / 1.108 GB, free: 8.824 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.733e-05/1.084, allocations: 8.031 kB / 1.108 GB, free: 8.816 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003912/1.084, allocations: 36.81 kB / 1.108 GB, free: 8.781 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008388/1.085, allocations: 294.6 kB / 1.108 GB, free: 8.457 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.942e-05/1.085, allocations: 8 kB / 1.108 GB, free: 8.449 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.727e-05/1.085, allocations: 11.38 kB / 1.108 GB, free: 8.441 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003795/1.086, allocations: 96.48 kB / 1.108 GB, free: 8.348 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004633/1.086, allocations: 154.3 kB / 1.108 GB, free: 8.176 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.408e-05/1.086, allocations: 0 / 1.108 GB, free: 8.176 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.713e-05/1.086, allocations: 0 / 1.108 GB, free: 8.176 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.472e-05/1.086, allocations: 8 kB / 1.108 GB, free: 8.168 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002048/1.088, allocations: 0.9312 MB / 1.109 GB, free: 7.18 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008694/1.089, allocations: 173.3 kB / 1.109 GB, free: 6.992 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001765/1.089, allocations: 62.48 kB / 1.109 GB, free: 6.926 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.623e-05/1.089, allocations: 4 kB / 1.109 GB, free: 6.922 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.675e-05/1.089, allocations: 34.56 kB / 1.109 GB, free: 6.879 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=16): time 3.416e-06/1.089, allocations: 0 / 1.109 GB, free: 6.879 MB / 0.7136 GB Notification: Performance of matching and sorting (n=16): time 0.0007894/1.09, allocations: 152.5 kB / 1.11 GB, free: 6.727 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.215e-05/1.09, allocations: 81.11 kB / 1.11 GB, free: 6.629 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003632/1.091, allocations: 214.3 kB / 1.11 GB, free: 6.414 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.136e-05/1.091, allocations: 25.7 kB / 1.11 GB, free: 6.383 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001674/1.091, allocations: 168.2 kB / 1.11 GB, free: 6.215 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 6.654e-05/1.091, allocations: 51.2 kB / 1.11 GB, free: 6.164 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.564e-05/1.091, allocations: 0 / 1.11 GB, free: 6.164 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001745/1.091, allocations: 334.8 kB / 1.11 GB, free: 5.828 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001549/1.091, allocations: 40 kB / 1.11 GB, free: 5.789 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001939/1.092, allocations: 91.77 kB / 1.11 GB, free: 5.68 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002489/1.092, allocations: 51.98 kB / 1.111 GB, free: 5.629 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.579e-06/1.092, allocations: 0 / 1.111 GB, free: 5.629 MB / 0.7136 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006736/1.093, allocations: 178.5 kB / 1.111 GB, free: 5.449 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.057e-05/1.093, allocations: 10.03 kB / 1.111 GB, free: 5.441 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.347e-06/1.093, allocations: 8.094 kB / 1.111 GB, free: 5.434 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.656e-05/1.093, allocations: 4 kB / 1.111 GB, free: 5.43 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006162/1.093, allocations: 75.88 kB / 1.111 GB, free: 5.355 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.244e-05/1.093, allocations: 4 kB / 1.111 GB, free: 5.352 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005049/1.094, allocations: 43.81 kB / 1.111 GB, free: 5.309 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.687e-05/1.094, allocations: 9.125 kB / 1.111 GB, free: 5.301 MB / 0.7136 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 0.000126/1.094, allocations: 108.7 kB / 1.111 GB, free: 5.188 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005935/1.095, allocations: 156.5 kB / 1.111 GB, free: 5.031 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001419/1.095, allocations: 27.62 kB / 1.111 GB, free: 5.004 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006229/1.095, allocations: 187.5 kB / 1.111 GB, free: 4.812 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/1.095, allocations: 3.938 kB / 1.111 GB, free: 4.809 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/1.095, allocations: 0 / 1.111 GB, free: 4.809 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.217e-05/1.096, allocations: 7.984 kB / 1.111 GB, free: 4.801 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005259/1.096, allocations: 253.9 kB / 1.112 GB, free: 4.516 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.562e-06/1.096, allocations: 3.953 kB / 1.112 GB, free: 4.512 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000559/1.097, allocations: 66.02 kB / 1.112 GB, free: 4.449 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.075e-05/1.097, allocations: 4 kB / 1.112 GB, free: 4.445 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.003e-05/1.097, allocations: 0 / 1.112 GB, free: 4.445 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.937e-06/1.097, allocations: 0 / 1.112 GB, free: 4.445 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.502e-06/1.097, allocations: 4 kB / 1.112 GB, free: 4.441 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006819/1.097, allocations: 350 kB / 1.112 GB, free: 4.078 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001078/1.098, allocations: 104.7 kB / 1.112 GB, free: 3.957 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.949e-05/1.098, allocations: 0 / 1.112 GB, free: 3.957 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005333/1.098, allocations: 35.95 kB / 1.112 GB, free: 3.922 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.182e-05/1.098, allocations: 23.97 kB / 1.112 GB, free: 3.898 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.358e-05/1.098, allocations: 4 kB / 1.112 GB, free: 3.895 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0002555/1.099, allocations: 170 kB / 1.112 GB, free: 3.73 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.11e-07/1.099, allocations: 0 / 1.112 GB, free: 3.73 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0005367/1.099, allocations: 56.03 kB / 1.112 GB, free: 3.676 MB / 0.7136 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.001139/1.1, allocations: 0.9677 MB / 1.113 GB, free: 2.68 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0004446/1.101, allocations: 127.8 kB / 1.113 GB, free: 2.555 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/1.101, allocations: 0 / 1.113 GB, free: 2.555 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0002011/1.101, allocations: 65.25 kB / 1.113 GB, free: 2.492 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007121/1.102, allocations: 62.69 kB / 1.114 GB, free: 2.43 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0013/1.103, allocations: 349.8 kB / 1.114 GB, free: 2.051 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004495/1.103, allocations: 0.7594 MB / 1.115 GB, free: 1.266 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0002777/1.104, allocations: 36.56 kB / 1.115 GB, free: 1.23 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002126/1.104, allocations: 84.72 kB / 1.115 GB, free: 1.148 MB / 0.7136 GB Notification: Performance of SimCode: time 9.52e-07/1.104, allocations: 0 / 1.115 GB, free: 1.148 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04942/1.153, allocations: 5.231 MB / 1.12 GB, free: 12.09 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003661/1.154, allocations: 157.7 kB / 1.12 GB, free: 11.89 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.586/3.74, allocations: 4 kB / 1.12 GB, free: 11.89 MB / 0.7292 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil_fmu --startTime=0 --stopTime=80 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil.fmu > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1)