Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.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.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss",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.646/2.646, allocations: 287.3 MB / 302.3 MB, free: 8.273 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.001641/0.001641, allocations: 182.8 kB / 370.8 MB, free: 10.85 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.078/2.078, allocations: 205.4 MB / 0.6295 GB, free: 10.59 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001157/0.001157, allocations: 92.95 kB / 0.7428 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000666/0.0006661, allocations: 16.94 kB / 0.8657 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2276/0.2283, allocations: 115.3 MB / 0.9783 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.262/1.49, allocations: 362.8 MB / 1.333 GB, free: 2.469 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003638/1.491, allocations: 99.3 kB / 1.333 GB, free: 2.41 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.03689/1.528, allocations: 9.399 MB / 1.342 GB, free: 10.73 MB / 0.8698 GB Notification: Performance of FrontEnd: time 4.839e-06/1.528, allocations: 4 kB / 1.342 GB, free: 10.72 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.578e-05/1.528, allocations: 8 kB / 1.342 GB, free: 10.71 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.001073/1.529, allocations: 497.2 kB / 1.342 GB, free: 10.19 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.259e-05/1.529, allocations: 12.02 kB / 1.342 GB, free: 10.18 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.533e-05/1.529, allocations: 46.3 kB / 1.342 GB, free: 10.13 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.595e-05/1.529, allocations: 23.67 kB / 1.342 GB, free: 10.11 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005785/1.53, allocations: 240.6 kB / 1.343 GB, free: 9.844 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.256e-05/1.53, allocations: 0 / 1.343 GB, free: 9.844 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.921e-05/1.53, allocations: 7.984 kB / 1.343 GB, free: 9.836 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005628/1.53, allocations: 146.1 kB / 1.343 GB, free: 9.711 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/1.53, allocations: 0 / 1.343 GB, free: 9.711 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.01e-05/1.53, allocations: 0 / 1.343 GB, free: 9.711 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.525e-05/1.53, allocations: 11.98 kB / 1.343 GB, free: 9.699 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007921/1.531, allocations: 158.9 kB / 1.343 GB, free: 9.57 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00103/1.532, allocations: 447.9 kB / 1.343 GB, free: 9.141 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000698/1.533, allocations: 172.8 kB / 1.344 GB, free: 9.004 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.589e-05/1.533, allocations: 0 / 1.344 GB, free: 9.004 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.061e-05/1.533, allocations: 34.56 kB / 1.344 GB, free: 8.961 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=13): time 3.577e-06/1.533, allocations: 0 / 1.344 GB, free: 8.961 MB / 0.8698 GB Notification: Performance of matching and sorting (n=13): time 0.001468/1.535, allocations: 323 kB / 1.344 GB, free: 8.691 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.185e-05/1.535, allocations: 51.41 kB / 1.344 GB, free: 8.629 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002552/1.535, allocations: 184.5 kB / 1.344 GB, free: 8.469 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.712e-05/1.535, allocations: 25.7 kB / 1.344 GB, free: 8.438 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 9.089e-05/1.535, allocations: 123.9 kB / 1.344 GB, free: 8.34 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 7.058e-05/1.535, allocations: 50.41 kB / 1.344 GB, free: 8.293 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.896e-05/1.535, allocations: 3.25 kB / 1.344 GB, free: 8.293 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001378/1.535, allocations: 326.5 kB / 1.345 GB, free: 7.973 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004071/1.536, allocations: 79.25 kB / 1.345 GB, free: 7.91 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004054/1.536, allocations: 83.88 kB / 1.345 GB, free: 7.844 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004238/1.537, allocations: 82.06 kB / 1.345 GB, free: 7.781 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/1.537, allocations: 0 / 1.345 GB, free: 7.781 MB / 0.8698 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0009709/1.538, allocations: 221.6 kB / 1.345 GB, free: 7.594 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/1.538, allocations: 8 kB / 1.345 GB, free: 7.586 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/1.538, allocations: 4 kB / 1.345 GB, free: 7.582 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.97e-05/1.538, allocations: 3.953 kB / 1.345 GB, free: 7.578 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004307/1.538, allocations: 39.91 kB / 1.345 GB, free: 7.539 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.285e-06/1.538, allocations: 0 / 1.345 GB, free: 7.539 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002859/1.538, allocations: 23.88 kB / 1.345 GB, free: 7.516 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.506e-05/1.538, allocations: 11.44 kB / 1.345 GB, free: 7.508 MB / 0.8698 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001723/1.539, allocations: 130.8 kB / 1.345 GB, free: 7.379 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.307e-05/1.539, allocations: 15.81 kB / 1.345 GB, free: 7.363 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.122e-05/1.539, allocations: 27.78 kB / 1.345 GB, free: 7.344 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/1.539, allocations: 0 / 1.345 GB, free: 7.344 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.865e-06/1.539, allocations: 3.953 kB / 1.345 GB, free: 7.34 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/1.539, allocations: 3.984 kB / 1.345 GB, free: 7.336 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004033/1.539, allocations: 264.6 kB / 1.346 GB, free: 7.062 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/1.539, allocations: 0 / 1.346 GB, free: 7.062 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003873/1.54, allocations: 43.95 kB / 1.346 GB, free: 7.02 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/1.54, allocations: 0 / 1.346 GB, free: 7.02 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.966e-05/1.54, allocations: 0 / 1.346 GB, free: 7.02 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/1.54, allocations: 0 / 1.346 GB, free: 7.02 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/1.54, allocations: 0 / 1.346 GB, free: 7.02 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001008/1.541, allocations: 330.2 kB / 1.346 GB, free: 6.719 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001588/1.541, allocations: 112.2 kB / 1.346 GB, free: 6.598 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.393e-05/1.541, allocations: 4 kB / 1.346 GB, free: 6.594 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003086/1.541, allocations: 18.86 kB / 1.346 GB, free: 6.578 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.531e-05/1.541, allocations: 7.984 kB / 1.346 GB, free: 6.57 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.566e-05/1.541, allocations: 15.28 kB / 1.346 GB, free: 6.559 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.000223/1.542, allocations: 150.4 kB / 1.346 GB, free: 6.426 MB / 0.8698 GB Notification: Performance of sort global known variables: time 3.61e-07/1.542, allocations: 0 / 1.346 GB, free: 6.426 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0004134/1.542, allocations: 46.09 kB / 1.346 GB, free: 6.387 MB / 0.8698 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * 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.001496/1.544, allocations: 0.9044 MB / 1.347 GB, free: 5.496 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0009225/1.545, allocations: 183.4 kB / 1.347 GB, free: 5.352 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/1.545, allocations: 4 kB / 1.347 GB, free: 5.348 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004483/1.545, allocations: 92.44 kB / 1.347 GB, free: 5.273 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003853/1.545, allocations: 25.44 kB / 1.347 GB, free: 5.254 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003407/1.549, allocations: 1.274 MB / 1.349 GB, free: 4.086 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003677/1.549, allocations: 0.7342 MB / 1.349 GB, free: 3.328 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0003505/1.55, allocations: 44.61 kB / 1.349 GB, free: 3.285 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001462/1.55, allocations: 54.03 kB / 1.35 GB, free: 3.262 MB / 0.8698 GB Notification: Performance of SimCode: time 9.92e-07/1.55, allocations: 0 / 1.35 GB, free: 3.262 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03129/1.581, allocations: 4.263 MB / 1.354 GB, free: 15.19 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003976/1.582, allocations: 207.3 kB / 1.354 GB, free: 14.94 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.453/4.035, allocations: 0 / 1.354 GB, free: 14.94 MB / 0.8855 GB (rm -f Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss.fmu > Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe 2>&1)