Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,fileNamePrefix="Buildings_8_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,fileNamePrefix="Buildings_8_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.739/1.739, allocations: 289.9 MB / 297.4 MB, free: 6.371 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.001534/0.001534, allocations: 168.9 kB / 366.7 MB, free: 1.672 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.744/1.744, allocations: 205.2 MB / 0.626 GB, free: 7.164 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.000992/0.0009921, allocations: 88.06 kB / 0.74 GB, free: 39.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.115e-05/2.116e-05, allocations: 4 kB / 0.8598 GB, free: 12.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7023/0.7023, allocations: 116.3 MB / 0.9733 GB, free: 76.12 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9242/1.627, allocations: 363.8 MB / 1.329 GB, free: 227.9 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002157/1.627, allocations: 89.39 kB / 1.329 GB, free: 227.8 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.02468/1.652, allocations: 10.71 MB / 1.339 GB, free: 217.1 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.703e-06/1.652, allocations: 0 / 1.339 GB, free: 217.1 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.36e-05/1.652, allocations: 4 kB / 1.339 GB, free: 217.1 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0008697/1.652, allocations: 0.5725 MB / 1.34 GB, free: 216.5 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.016e-05/1.653, allocations: 15.97 kB / 1.34 GB, free: 216.5 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.995e-05/1.653, allocations: 26.95 kB / 1.34 GB, free: 216.5 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006088/1.653, allocations: 282.4 kB / 1.34 GB, free: 216.2 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.386e-05/1.653, allocations: 4 kB / 1.34 GB, free: 216.2 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.229e-05/1.653, allocations: 7.984 kB / 1.34 GB, free: 216.1 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001915/1.653, allocations: 91.97 kB / 1.34 GB, free: 216.1 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001768/1.654, allocations: 117.5 kB / 1.34 GB, free: 215.9 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/1.654, allocations: 4 kB / 1.34 GB, free: 215.9 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.942e-05/1.654, allocations: 0 / 1.34 GB, free: 215.9 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/1.654, allocations: 0 / 1.34 GB, free: 215.9 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007254/1.654, allocations: 457 kB / 1.341 GB, free: 215.4 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001126/1.655, allocations: 74.5 kB / 1.341 GB, free: 215.4 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.435e-05/1.655, allocations: 60.84 kB / 1.341 GB, free: 215.3 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005617/1.655, allocations: 0.5181 MB / 1.341 GB, free: 214.7 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.376e-05/1.655, allocations: 32.62 kB / 1.341 GB, free: 214.6 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=11): time 1.593e-06/1.655, allocations: 0 / 1.341 GB, free: 214.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=11): time 0.04887/1.704, allocations: 3.727 MB / 1.345 GB, free: 210.9 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.301e-05/1.704, allocations: 55.41 kB / 1.345 GB, free: 210.8 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001581/1.704, allocations: 190.4 kB / 1.345 GB, free: 210.6 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.931e-05/1.704, allocations: 29.7 kB / 1.345 GB, free: 210.6 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 6.288e-05/1.704, allocations: 140 kB / 1.345 GB, free: 210.5 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.696e-05/1.704, allocations: 39.45 kB / 1.345 GB, free: 210.4 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.25e-05/1.705, allocations: 0 / 1.345 GB, free: 210.4 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.012e-05/1.705, allocations: 338.9 kB / 1.346 GB, free: 210.1 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.413e-05/1.705, allocations: 48.67 kB / 1.346 GB, free: 210 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.926e-05/1.705, allocations: 50.3 kB / 1.346 GB, free: 210 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04784/1.753, allocations: 3.632 MB / 1.349 GB, free: 206.4 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.79e-06/1.753, allocations: 0 / 1.349 GB, free: 206.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.04767/1.8, allocations: 3.735 MB / 1.353 GB, free: 202.6 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.951e-05/1.8, allocations: 8 kB / 1.353 GB, free: 202.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/1.8, allocations: 0 / 1.353 GB, free: 202.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.135e-05/1.8, allocations: 0 / 1.353 GB, free: 202.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003295/1.801, allocations: 55.94 kB / 1.353 GB, free: 202.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.288e-05/1.801, allocations: 4 kB / 1.353 GB, free: 202.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002308/1.801, allocations: 31.97 kB / 1.353 GB, free: 202.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.986e-05/1.801, allocations: 4 kB / 1.353 GB, free: 202.5 MB / 0.8542 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 (11): * Single equations (assignments): 11 * 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.0001069/1.801, allocations: 116.8 kB / 1.353 GB, free: 202.4 MB / 0.8542 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.04991/1.851, allocations: 3.739 MB / 1.357 GB, free: 198.6 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.109e-05/1.851, allocations: 19.72 kB / 1.357 GB, free: 198.6 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06419/1.915, allocations: 3.762 MB / 1.361 GB, free: 194.8 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.117e-06/1.915, allocations: 0 / 1.361 GB, free: 194.8 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.557e-06/1.915, allocations: 0 / 1.361 GB, free: 194.8 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/1.916, allocations: 7.891 kB / 1.361 GB, free: 194.8 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003305/1.916, allocations: 246 kB / 1.361 GB, free: 194.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/1.916, allocations: 0 / 1.361 GB, free: 194.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003169/1.916, allocations: 62.94 kB / 1.361 GB, free: 194.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.254e-06/1.916, allocations: 0 / 1.361 GB, free: 194.5 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.967e-05/1.916, allocations: 3.984 kB / 1.361 GB, free: 194.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.05e-06/1.916, allocations: 5.719 kB / 1.361 GB, free: 194.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/1.916, allocations: 0 / 1.361 GB, free: 194.5 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04825/1.964, allocations: 3.83 MB / 1.365 GB, free: 190.6 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 9.959e-05/1.965, allocations: 112.8 kB / 1.365 GB, free: 190.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.959e-05/1.965, allocations: 4 kB / 1.365 GB, free: 190.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002488/1.965, allocations: 35.91 kB / 1.365 GB, free: 190.5 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.198e-05/1.965, allocations: 19.97 kB / 1.365 GB, free: 190.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.5e-05/1.965, allocations: 1.594 kB / 1.365 GB, free: 190.5 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001606/1.965, allocations: 158 kB / 1.365 GB, free: 190.3 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.21e-07/1.965, allocations: 0 / 1.365 GB, free: 190.3 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003795/1.966, allocations: 71.77 kB / 1.365 GB, free: 190.2 MB / 0.8542 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 (11): * Single equations (assignments): 11 * 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.04872/2.014, allocations: 4.446 MB / 1.369 GB, free: 185.8 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002557/2.015, allocations: 123.9 kB / 1.37 GB, free: 185.6 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/2.015, allocations: 0 / 1.37 GB, free: 185.6 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 9.774e-05/2.015, allocations: 67.92 kB / 1.37 GB, free: 185.6 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003412/2.015, allocations: 24.19 kB / 1.37 GB, free: 185.5 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000763/2.016, allocations: 308.9 kB / 1.37 GB, free: 185.2 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001617/2.016, allocations: 0.7392 MB / 1.371 GB, free: 184.4 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001783/2.016, allocations: 37.14 kB / 1.371 GB, free: 184.4 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001056/2.016, allocations: 63.41 kB / 1.371 GB, free: 184.4 MB / 0.8542 GB Notification: Performance of SimCode: time 4.91e-07/2.016, allocations: 4 kB / 1.371 GB, free: 184.3 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03459/2.051, allocations: 4.349 MB / 1.375 GB, free: 180.1 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002144/2.051, allocations: 164 kB / 1.375 GB, free: 179.9 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.907/3.958, allocations: 4.031 kB / 1.375 GB, free: 179.9 MB / 0.8542 GB (rm -f Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; mkfifo Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe >> ../files/Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain.fmu > Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1)