Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,fileNamePrefix="Buildings_9_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.208/2.208, allocations: 387.4 MB / 394.9 MB, free: 13.44 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001071/0.001071, allocations: 180.8 kB / 487.4 MB, free: 5.039 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.481/1.481, allocations: 221.5 MB / 0.7824 GB, free: 0.9453 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009353/0.0009354, allocations: 103.8 kB / 0.9219 GB, free: 2.172 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.775e-05/1.777e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2576/0.2576, allocations: 142.4 MB / 1.206 GB, free: 43.85 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.018/1.276, allocations: 374.2 MB / 1.571 GB, free: 15.02 MB / 0.9948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002312/1.276, allocations: 81.45 kB / 1.572 GB, free: 14.98 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 0.02767/1.304, allocations: 10.93 MB / 1.582 GB, free: 6.09 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.593e-06/1.304, allocations: 0 / 1.582 GB, free: 6.09 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 1.593e-05/1.304, allocations: 4 kB / 1.582 GB, free: 6.086 MB / 0.9948 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.001074/1.305, allocations: 0.5762 MB / 1.583 GB, free: 5.477 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.663e-05/1.305, allocations: 8.031 kB / 1.583 GB, free: 5.469 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.636e-05/1.305, allocations: 27.7 kB / 1.583 GB, free: 5.441 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006049/1.306, allocations: 277.1 kB / 1.583 GB, free: 5.141 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.197e-05/1.306, allocations: 5.422 kB / 1.583 GB, free: 5.137 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.638e-05/1.306, allocations: 8 kB / 1.583 GB, free: 5.129 MB / 0.9948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002018/1.306, allocations: 88.41 kB / 1.583 GB, free: 5.074 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002135/1.306, allocations: 114.8 kB / 1.583 GB, free: 4.98 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/1.306, allocations: 0 / 1.583 GB, free: 4.98 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.932e-05/1.306, allocations: 4 kB / 1.583 GB, free: 4.977 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/1.306, allocations: 0 / 1.583 GB, free: 4.977 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000823/1.307, allocations: 469.3 kB / 1.584 GB, free: 4.543 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001344/1.307, allocations: 74.55 kB / 1.584 GB, free: 4.48 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001005/1.307, allocations: 58.28 kB / 1.584 GB, free: 4.441 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006648/1.308, allocations: 0.5122 MB / 1.584 GB, free: 3.824 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.045e-05/1.308, allocations: 34.56 kB / 1.584 GB, free: 3.781 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=11): time 1.342e-06/1.308, allocations: 0 / 1.584 GB, free: 3.781 MB / 0.9948 GB Notification: Performance of matching and sorting (n=11): time 0.04992/1.358, allocations: 3.729 MB / 1.588 GB, free: 164 kB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.031e-05/1.358, allocations: 63.34 kB / 1.588 GB, free: 88 kB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002303/1.358, allocations: 185.8 kB / 1.588 GB, free: 15.93 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 3.256e-05/1.358, allocations: 25.7 kB / 1.588 GB, free: 15.89 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 8.415e-05/1.359, allocations: 145.6 kB / 1.588 GB, free: 15.79 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 4.733e-05/1.359, allocations: 38.95 kB / 1.589 GB, free: 15.75 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.272e-05/1.359, allocations: 7.875 kB / 1.589 GB, free: 15.74 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001395/1.359, allocations: 332.9 kB / 1.589 GB, free: 15.42 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.223e-05/1.359, allocations: 43.55 kB / 1.589 GB, free: 15.39 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.106e-05/1.359, allocations: 47.23 kB / 1.589 GB, free: 15.36 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04975/1.409, allocations: 3.623 MB / 1.592 GB, free: 11.84 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/1.409, allocations: 4 kB / 1.592 GB, free: 11.83 MB / 1.01 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.05185/1.461, allocations: 3.733 MB / 1.596 GB, free: 8.207 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.341e-05/1.461, allocations: 7.938 kB / 1.596 GB, free: 8.199 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/1.461, allocations: 3.938 kB / 1.596 GB, free: 8.195 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/1.461, allocations: 4 kB / 1.596 GB, free: 8.191 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003359/1.461, allocations: 55.94 kB / 1.596 GB, free: 8.137 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.199e-06/1.461, allocations: 0 / 1.596 GB, free: 8.137 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002453/1.461, allocations: 47.86 kB / 1.596 GB, free: 8.09 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.809e-05/1.461, allocations: 3.984 kB / 1.596 GB, free: 8.086 MB / 1.01 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 9.483e-05/1.461, allocations: 108.5 kB / 1.596 GB, free: 7.977 MB / 1.01 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.05255/1.514, allocations: 3.734 MB / 1.6 GB, free: 4.348 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.521e-05/1.514, allocations: 19.72 kB / 1.6 GB, free: 4.328 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05054/1.565, allocations: 3.759 MB / 1.604 GB, free: 0.6914 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.964e-06/1.565, allocations: 4 kB / 1.604 GB, free: 0.6875 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-06/1.565, allocations: 3.953 kB / 1.604 GB, free: 0.6836 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/1.565, allocations: 0 / 1.604 GB, free: 0.6836 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003349/1.565, allocations: 244.6 kB / 1.604 GB, free: 452 kB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/1.565, allocations: 4 kB / 1.604 GB, free: 448 kB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003131/1.565, allocations: 55.94 kB / 1.604 GB, free: 392 kB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.019e-06/1.565, allocations: 3.938 kB / 1.604 GB, free: 388 kB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.86e-05/1.565, allocations: 3.984 kB / 1.604 GB, free: 384 kB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/1.565, allocations: 0 / 1.604 GB, free: 384 kB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/1.565, allocations: 4 kB / 1.604 GB, free: 380 kB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05024/1.616, allocations: 3.831 MB / 1.608 GB, free: 12.64 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001203/1.616, allocations: 111.2 kB / 1.608 GB, free: 12.52 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.713e-05/1.616, allocations: 0 / 1.608 GB, free: 12.52 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002715/1.616, allocations: 43.53 kB / 1.608 GB, free: 12.48 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.961e-05/1.616, allocations: 11.97 kB / 1.608 GB, free: 12.46 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.557e-05/1.616, allocations: 7.875 kB / 1.608 GB, free: 12.46 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.0001598/1.616, allocations: 150.4 kB / 1.608 GB, free: 12.34 MB / 1.026 GB Notification: Performance of sort global known variables: time 1.5e-07/1.616, allocations: 0 / 1.608 GB, free: 12.34 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.0003695/1.617, allocations: 79.02 kB / 1.608 GB, free: 12.26 MB / 1.026 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.05149/1.668, allocations: 4.453 MB / 1.612 GB, free: 7.902 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.0002646/1.669, allocations: 119.6 kB / 1.613 GB, free: 7.824 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/1.669, allocations: 0 / 1.613 GB, free: 7.824 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.0001038/1.669, allocations: 64.59 kB / 1.613 GB, free: 7.781 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000298/1.669, allocations: 32.47 kB / 1.613 GB, free: 7.758 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000743/1.67, allocations: 314.1 kB / 1.613 GB, free: 7.441 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003147/1.67, allocations: 0.7398 MB / 1.614 GB, free: 6.676 MB / 1.026 GB Notification: Performance of simCode: alias equations: time 0.0001803/1.67, allocations: 32.86 kB / 1.614 GB, free: 6.637 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001076/1.67, allocations: 64.97 kB / 1.614 GB, free: 6.613 MB / 1.026 GB Notification: Performance of SimCode: time 2.61e-07/1.67, allocations: 0 / 1.614 GB, free: 6.613 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02139/1.692, allocations: 4.36 MB / 1.618 GB, free: 2.293 MB / 1.026 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001594/1.692, allocations: 163.2 kB / 1.618 GB, free: 2.098 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.719/3.411, allocations: 0 / 1.618 GB, free: 2.098 MB / 1.026 GB (rm -f Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; mkfifo Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe >> ../files/Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain.fmu > Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain_res.mat does not exist to compare? outputFormat=mat