Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.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.EN12975SolarGain,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,fileNamePrefix="Buildings_8_0_0_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.0.0/package.mo): time 3.246/3.246, allocations: 287.3 MB / 302.3 MB, free: 8.211 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.001583/0.001582, allocations: 174.8 kB / 370.8 MB, free: 10.86 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.177/2.177, allocations: 205.4 MB / 0.6295 GB, free: 10.64 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.001081/0.00108, allocations: 94.67 kB / 0.7428 GB, free: 6.645 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006566/0.0006567, allocations: 21.3 kB / 0.8657 GB, free: 140.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2152/0.2159, allocations: 115.3 MB / 0.9783 GB, free: 28.32 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.246/1.462, allocations: 363.4 MB / 1.333 GB, free: 1.918 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004261/1.463, allocations: 89.25 kB / 1.333 GB, free: 1.867 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.06129/1.524, allocations: 10.84 MB / 1.344 GB, free: 8.926 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.956e-06/1.524, allocations: 0 / 1.344 GB, free: 8.926 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 3.271e-05/1.524, allocations: 4 kB / 1.344 GB, free: 8.922 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.002047/1.526, allocations: 0.6176 MB / 1.344 GB, free: 8.27 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 6.71e-05/1.526, allocations: 12.22 kB / 1.345 GB, free: 8.258 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001025/1.526, allocations: 38.19 kB / 1.345 GB, free: 8.215 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.165e-05/1.527, allocations: 27.7 kB / 1.345 GB, free: 8.188 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001181/1.528, allocations: 276.9 kB / 1.345 GB, free: 7.891 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.507e-05/1.528, allocations: 7.312 kB / 1.345 GB, free: 7.887 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.176e-05/1.528, allocations: 7.75 kB / 1.345 GB, free: 7.883 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001657/1.53, allocations: 196.8 kB / 1.345 GB, free: 7.711 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.067e-05/1.53, allocations: 0 / 1.345 GB, free: 7.711 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.148e-05/1.53, allocations: 3.375 kB / 1.345 GB, free: 7.711 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.629e-06/1.53, allocations: 0 / 1.345 GB, free: 7.711 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00219/1.532, allocations: 234.5 kB / 1.345 GB, free: 7.516 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002191/1.534, allocations: 497.3 kB / 1.346 GB, free: 7.047 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001244/1.536, allocations: 149.9 kB / 1.346 GB, free: 6.914 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001695/1.537, allocations: 0.5099 MB / 1.346 GB, free: 6.297 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.096e-05/1.538, allocations: 38.45 kB / 1.346 GB, free: 6.25 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=11): time 5.23e-06/1.538, allocations: 4 kB / 1.346 GB, free: 6.246 MB / 0.8698 GB Notification: Performance of matching and sorting (n=11): time 0.004423/1.542, allocations: 415.1 kB / 1.347 GB, free: 5.891 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.964e-05/1.542, allocations: 55.41 kB / 1.347 GB, free: 5.824 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005584/1.543, allocations: 203.8 kB / 1.347 GB, free: 5.652 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 9.481e-05/1.543, allocations: 25.7 kB / 1.347 GB, free: 5.621 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002004/1.543, allocations: 144.6 kB / 1.347 GB, free: 5.512 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001048/1.543, allocations: 38.88 kB / 1.347 GB, free: 5.477 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.279e-05/1.543, allocations: 3.5 kB / 1.347 GB, free: 5.477 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0002337/1.544, allocations: 329.8 kB / 1.348 GB, free: 5.152 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001075/1.545, allocations: 127.4 kB / 1.348 GB, free: 5.047 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009826/1.546, allocations: 116.5 kB / 1.348 GB, free: 4.949 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001064/1.547, allocations: 111.5 kB / 1.348 GB, free: 4.859 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.314e-06/1.547, allocations: 0 / 1.348 GB, free: 4.859 MB / 0.8698 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.002069/1.549, allocations: 297.3 kB / 1.348 GB, free: 4.602 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.475e-05/1.549, allocations: 8 kB / 1.348 GB, free: 4.594 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.283e-05/1.549, allocations: 3.953 kB / 1.348 GB, free: 4.59 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.772e-05/1.549, allocations: 3.938 kB / 1.348 GB, free: 4.586 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006036/1.55, allocations: 63.69 kB / 1.348 GB, free: 4.527 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/1.55, allocations: 3.938 kB / 1.348 GB, free: 4.523 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004743/1.55, allocations: 31.97 kB / 1.348 GB, free: 4.492 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.293e-05/1.55, allocations: 11.98 kB / 1.348 GB, free: 4.48 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 (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.0001996/1.55, allocations: 129.1 kB / 1.348 GB, free: 4.355 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.902e-05/1.55, allocations: 19.72 kB / 1.348 GB, free: 4.336 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001636/1.552, allocations: 329.5 kB / 1.349 GB, free: 4.062 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.625e-06/1.552, allocations: 3.953 kB / 1.349 GB, free: 4.059 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/1.552, allocations: 0 / 1.349 GB, free: 4.059 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.565e-06/1.552, allocations: 4 kB / 1.349 GB, free: 4.055 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004562/1.553, allocations: 280.8 kB / 1.349 GB, free: 3.77 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/1.553, allocations: 0 / 1.349 GB, free: 3.77 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005666/1.553, allocations: 47.95 kB / 1.349 GB, free: 3.723 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.957e-06/1.553, allocations: 3.938 kB / 1.349 GB, free: 3.719 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.789e-05/1.553, allocations: 14.73 kB / 1.349 GB, free: 3.707 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/1.553, allocations: 0 / 1.349 GB, free: 3.707 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.05e-06/1.553, allocations: 7.953 kB / 1.349 GB, free: 3.699 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001591/1.555, allocations: 399 kB / 1.35 GB, free: 3.336 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001738/1.555, allocations: 111.9 kB / 1.35 GB, free: 3.215 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.136e-05/1.555, allocations: 0 / 1.35 GB, free: 3.215 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004736/1.556, allocations: 42.39 kB / 1.35 GB, free: 3.176 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001042/1.556, allocations: 19.31 kB / 1.35 GB, free: 3.16 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.766e-05/1.556, allocations: 3.984 kB / 1.35 GB, free: 3.156 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0002343/1.556, allocations: 166.4 kB / 1.35 GB, free: 3.016 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4.11e-07/1.556, allocations: 4 kB / 1.35 GB, free: 3.012 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0005134/1.557, allocations: 67.67 kB / 1.35 GB, free: 2.949 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 (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.002284/1.559, allocations: 1.013 MB / 1.351 GB, free: 1.957 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001492/1.56, allocations: 261.6 kB / 1.351 GB, free: 1.742 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/1.56, allocations: 0 / 1.351 GB, free: 1.742 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.000736/1.561, allocations: 140.7 kB / 1.351 GB, free: 1.629 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004492/1.562, allocations: 28.23 kB / 1.351 GB, free: 1.609 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004749/1.566, allocations: 1.479 MB / 1.353 GB, free: 264 kB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004655/1.567, allocations: 0.7355 MB / 1.353 GB, free: 15.5 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0003561/1.567, allocations: 40.84 kB / 1.354 GB, free: 15.46 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001951/1.567, allocations: 66.39 kB / 1.354 GB, free: 15.43 MB / 0.8855 GB Notification: Performance of SimCode: time 1.322e-06/1.567, allocations: 0 / 1.354 GB, free: 15.43 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02934/1.597, allocations: 5.243 MB / 1.359 GB, free: 10.38 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003157/1.597, allocations: 206.8 kB / 1.359 GB, free: 10.13 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.622/4.22, allocations: 0 / 1.359 GB, free: 10.13 MB / 0.8855 GB (rm -f Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain.fmu > Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1)