Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.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.ASHRAESolarGain,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain",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.686/2.686, allocations: 287.3 MB / 302.3 MB, free: 8.355 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.001578/0.001578, allocations: 177.1 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.066/2.066, 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.001167/0.001166, allocations: 96.17 kB / 0.7428 GB, free: 6.598 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006662/0.0006664, allocations: 19.56 kB / 0.8657 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2362/0.2369, allocations: 115.3 MB / 0.9783 GB, free: 28.31 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.246/1.483, allocations: 364.1 MB / 1.334 GB, free: 1.258 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003238/1.483, allocations: 92.89 kB / 1.334 GB, free: 1.207 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.05118/1.534, allocations: 11.64 MB / 1.345 GB, free: 7.574 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.904e-06/1.534, allocations: 0 / 1.345 GB, free: 7.574 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 2.171e-05/1.534, allocations: 4 kB / 1.345 GB, free: 7.57 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.001952/1.536, allocations: 0.6534 MB / 1.346 GB, free: 6.883 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.122e-05/1.536, allocations: 12.02 kB / 1.346 GB, free: 6.871 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.75e-05/1.536, allocations: 46.3 kB / 1.346 GB, free: 6.82 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001261/1.538, allocations: 139.4 kB / 1.346 GB, free: 6.684 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001483/1.539, allocations: 333.4 kB / 1.346 GB, free: 6.332 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.889e-05/1.539, allocations: 7.875 kB / 1.346 GB, free: 6.328 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.9e-05/1.539, allocations: 11.06 kB / 1.346 GB, free: 6.32 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001226/1.54, allocations: 255.7 kB / 1.347 GB, free: 6.105 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.369e-05/1.54, allocations: 4 kB / 1.347 GB, free: 6.102 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.188e-05/1.541, allocations: 3.562 kB / 1.347 GB, free: 6.102 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.099e-05/1.541, allocations: 7.953 kB / 1.347 GB, free: 6.094 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001977/1.543, allocations: 334.7 kB / 1.347 GB, free: 5.82 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002087/1.545, allocations: 0.5943 MB / 1.348 GB, free: 5.266 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001058/1.546, allocations: 208.8 kB / 1.348 GB, free: 5.09 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001032/1.547, allocations: 0.514 MB / 1.348 GB, free: 4.469 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.653e-05/1.547, allocations: 34.55 kB / 1.348 GB, free: 4.426 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=13): time 2.705e-06/1.547, allocations: 0 / 1.348 GB, free: 4.426 MB / 0.8698 GB Notification: Performance of matching and sorting (n=13): time 0.003278/1.55, allocations: 0.5633 MB / 1.349 GB, free: 3.945 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.233e-05/1.55, allocations: 54.09 kB / 1.349 GB, free: 3.883 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003518/1.551, allocations: 230.4 kB / 1.349 GB, free: 3.684 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 4.108e-05/1.551, allocations: 25.7 kB / 1.349 GB, free: 3.652 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001262/1.551, allocations: 153.6 kB / 1.349 GB, free: 3.539 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 6.911e-05/1.551, allocations: 41.45 kB / 1.349 GB, free: 3.504 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.468e-05/1.551, allocations: 3.5 kB / 1.349 GB, free: 3.504 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001611/1.551, allocations: 341.6 kB / 1.35 GB, free: 3.172 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001016/1.552, allocations: 177.5 kB / 1.35 GB, free: 3.031 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001031/1.553, allocations: 186.9 kB / 1.35 GB, free: 2.883 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001017/1.554, allocations: 168.4 kB / 1.35 GB, free: 2.75 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.753e-06/1.554, allocations: 8 kB / 1.35 GB, free: 2.742 MB / 0.8698 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.002249/1.556, allocations: 423.8 kB / 1.351 GB, free: 2.391 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.563e-05/1.556, allocations: 13.97 kB / 1.351 GB, free: 2.379 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.816e-06/1.556, allocations: 0 / 1.351 GB, free: 2.379 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.103e-05/1.557, allocations: 0 / 1.351 GB, free: 2.379 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009052/1.557, allocations: 91.28 kB / 1.351 GB, free: 2.293 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.236e-06/1.557, allocations: 0 / 1.351 GB, free: 2.293 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006701/1.558, allocations: 59.8 kB / 1.351 GB, free: 2.234 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.27e-05/1.558, allocations: 10.67 kB / 1.351 GB, free: 2.227 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 (17): * Single equations (assignments): 17 * 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.0002242/1.558, allocations: 129.7 kB / 1.351 GB, free: 2.102 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.986e-05/1.558, allocations: 23.72 kB / 1.351 GB, free: 2.078 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002294/1.561, allocations: 443.6 kB / 1.351 GB, free: 1.719 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.413e-06/1.561, allocations: 0 / 1.351 GB, free: 1.719 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/1.561, allocations: 4 kB / 1.351 GB, free: 1.715 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/1.561, allocations: 4 kB / 1.351 GB, free: 1.711 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005113/1.561, allocations: 311.1 kB / 1.352 GB, free: 1.406 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/1.561, allocations: 0 / 1.352 GB, free: 1.406 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007717/1.562, allocations: 71.92 kB / 1.352 GB, free: 1.336 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.404e-05/1.562, allocations: 4 kB / 1.352 GB, free: 1.332 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.406e-05/1.562, allocations: 7.734 kB / 1.352 GB, free: 1.328 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.526e-06/1.562, allocations: 0 / 1.352 GB, free: 1.328 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/1.562, allocations: 0 / 1.352 GB, free: 1.328 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002189/1.564, allocations: 0.499 MB / 1.352 GB, free: 0.875 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001845/1.565, allocations: 122.4 kB / 1.352 GB, free: 0.7461 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.68e-05/1.565, allocations: 3.812 kB / 1.352 GB, free: 0.7461 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006633/1.565, allocations: 55.94 kB / 1.352 GB, free: 0.6914 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001058/1.566, allocations: 15.86 kB / 1.352 GB, free: 0.6797 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.472e-05/1.566, allocations: 11.98 kB / 1.352 GB, free: 0.668 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0002678/1.566, allocations: 185.3 kB / 1.353 GB, free: 0.5156 MB / 0.8698 GB Notification: Performance of sort global known variables: time 3.61e-07/1.566, allocations: 0 / 1.353 GB, free: 0.5156 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0005453/1.566, allocations: 82.42 kB / 1.353 GB, free: 452 kB / 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.00291/1.569, allocations: 1.127 MB / 1.354 GB, free: 15.36 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002129/1.572, allocations: 380.1 kB / 1.354 GB, free: 15.05 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/1.572, allocations: 0 / 1.354 GB, free: 15.05 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001048/1.573, allocations: 192 kB / 1.354 GB, free: 14.89 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004566/1.573, allocations: 34.58 kB / 1.354 GB, free: 14.88 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002153/1.575, allocations: 0.8581 MB / 1.355 GB, free: 14.03 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004137/1.576, allocations: 0.7516 MB / 1.356 GB, free: 13.25 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0004576/1.576, allocations: 49.38 kB / 1.356 GB, free: 13.2 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002457/1.576, allocations: 79.02 kB / 1.356 GB, free: 13.17 MB / 0.8855 GB Notification: Performance of SimCode: time 9.01e-07/1.576, allocations: 0 / 1.356 GB, free: 13.17 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03712/1.614, allocations: 6.019 MB / 1.362 GB, free: 7.34 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003447/1.614, allocations: 198 kB / 1.362 GB, free: 7.102 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.601/4.215, allocations: 4 kB / 1.362 GB, free: 7.098 MB / 0.8855 GB (rm -f Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain.fmu > Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1)