Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.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.ASHRAESolarGain,fileNamePrefix="Buildings_8_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.8/1.8, allocations: 292.6 MB / 307.5 MB, free: 5.113 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.001167/0.001167, allocations: 185.1 kB / 377.1 MB, free: 1.453 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.106/2.106, allocations: 205.4 MB / 0.6366 GB, free: 8.578 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.00136/0.00136, allocations: 94.89 kB / 0.7509 GB, free: 63 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003718/0.0003717, allocations: 12 kB / 0.8749 GB, free: 11.13 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3064/0.3068, allocations: 116.3 MB / 0.9884 GB, free: 6.672 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.076/1.383, allocations: 365.2 MB / 1.345 GB, free: 8.992 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002535/1.384, allocations: 89.88 kB / 1.345 GB, free: 8.906 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 0.03032/1.414, allocations: 11.65 MB / 1.357 GB, free: 13.3 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.244e-06/1.414, allocations: 0 / 1.357 GB, free: 13.3 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 1.57e-05/1.414, allocations: 4 kB / 1.357 GB, free: 13.29 MB / 0.9323 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.001277/1.415, allocations: 0.6443 MB / 1.357 GB, free: 12.6 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.546e-05/1.415, allocations: 16.02 kB / 1.357 GB, free: 12.58 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.422e-05/1.415, allocations: 42.53 kB / 1.357 GB, free: 12.53 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007254/1.416, allocations: 145.7 kB / 1.357 GB, free: 12.39 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009744/1.417, allocations: 334.8 kB / 1.358 GB, free: 12.03 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.531e-05/1.417, allocations: 8.188 kB / 1.358 GB, free: 12.02 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.415e-05/1.417, allocations: 12 kB / 1.358 GB, free: 12.01 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007062/1.418, allocations: 255 kB / 1.358 GB, free: 11.75 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/1.418, allocations: 0 / 1.358 GB, free: 11.75 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.418e-05/1.418, allocations: 4 kB / 1.358 GB, free: 11.75 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.057e-06/1.418, allocations: 4 kB / 1.358 GB, free: 11.75 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009933/1.419, allocations: 338.3 kB / 1.358 GB, free: 11.42 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001381/1.42, allocations: 0.6021 MB / 1.359 GB, free: 10.77 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005849/1.421, allocations: 191.6 kB / 1.359 GB, free: 10.57 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007099/1.422, allocations: 0.5181 MB / 1.36 GB, free: 9.945 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.104e-05/1.422, allocations: 42.48 kB / 1.36 GB, free: 9.895 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=13): time 1.973e-06/1.422, allocations: 0 / 1.36 GB, free: 9.895 MB / 0.9323 GB Notification: Performance of matching and sorting (n=13): time 0.001695/1.423, allocations: 0.5596 MB / 1.36 GB, free: 9.328 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.834e-05/1.423, allocations: 51.66 kB / 1.36 GB, free: 9.266 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002552/1.424, allocations: 223.8 kB / 1.36 GB, free: 9.043 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 3.997e-05/1.424, allocations: 33.7 kB / 1.36 GB, free: 9.004 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001239/1.424, allocations: 151.9 kB / 1.361 GB, free: 8.852 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 5.111e-05/1.424, allocations: 39.45 kB / 1.361 GB, free: 8.812 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.695e-05/1.424, allocations: 0 / 1.361 GB, free: 8.812 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001824/1.424, allocations: 348.6 kB / 1.361 GB, free: 8.465 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005251/1.425, allocations: 172.8 kB / 1.361 GB, free: 8.297 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005175/1.425, allocations: 187.7 kB / 1.361 GB, free: 8.113 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005037/1.426, allocations: 174.5 kB / 1.361 GB, free: 7.945 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/1.426, allocations: 0 / 1.361 GB, free: 7.945 MB / 0.9323 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001155/1.427, allocations: 425 kB / 1.362 GB, free: 7.523 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.163e-05/1.427, allocations: 4 kB / 1.362 GB, free: 7.52 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/1.427, allocations: 3.938 kB / 1.362 GB, free: 7.516 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.747e-05/1.427, allocations: 8 kB / 1.362 GB, free: 7.508 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004789/1.427, allocations: 83.91 kB / 1.362 GB, free: 7.426 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/1.427, allocations: 4.438 kB / 1.362 GB, free: 7.422 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003465/1.428, allocations: 61.11 kB / 1.362 GB, free: 7.363 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.938e-05/1.428, allocations: 11.98 kB / 1.362 GB, free: 7.352 MB / 0.9323 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.0001556/1.428, allocations: 129.8 kB / 1.362 GB, free: 7.215 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.31e-05/1.428, allocations: 23.72 kB / 1.362 GB, free: 7.191 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001249/1.429, allocations: 445.1 kB / 1.363 GB, free: 6.75 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.651e-06/1.429, allocations: 0.5625 kB / 1.363 GB, free: 6.75 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/1.429, allocations: 0 / 1.363 GB, free: 6.75 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/1.429, allocations: 0 / 1.363 GB, free: 6.75 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003733/1.43, allocations: 309.3 kB / 1.363 GB, free: 6.398 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/1.43, allocations: 5.5 kB / 1.363 GB, free: 6.395 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004202/1.43, allocations: 75.92 kB / 1.363 GB, free: 6.32 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/1.43, allocations: 4 kB / 1.363 GB, free: 6.316 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.621e-05/1.43, allocations: 7.984 kB / 1.363 GB, free: 6.309 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/1.43, allocations: 0 / 1.363 GB, free: 6.309 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/1.43, allocations: 1.656 kB / 1.363 GB, free: 6.309 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001148/1.431, allocations: 0.5048 MB / 1.364 GB, free: 5.789 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001382/1.432, allocations: 124.7 kB / 1.364 GB, free: 5.648 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.749e-05/1.432, allocations: 0 / 1.364 GB, free: 5.648 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003479/1.432, allocations: 55.94 kB / 1.364 GB, free: 5.594 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.233e-05/1.432, allocations: 15.98 kB / 1.364 GB, free: 5.578 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.057e-05/1.432, allocations: 9.109 kB / 1.364 GB, free: 5.57 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.000167/1.432, allocations: 183.1 kB / 1.364 GB, free: 5.391 MB / 0.9323 GB Notification: Performance of sort global known variables: time 2.3e-07/1.432, allocations: 0 / 1.364 GB, free: 5.391 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0004225/1.433, allocations: 83.86 kB / 1.364 GB, free: 5.309 MB / 0.9323 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.001714/1.434, allocations: 1.117 MB / 1.365 GB, free: 4.168 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.001118/1.436, allocations: 379.7 kB / 1.365 GB, free: 3.797 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/1.436, allocations: 4 kB / 1.365 GB, free: 3.793 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0005322/1.436, allocations: 191.8 kB / 1.366 GB, free: 3.605 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003027/1.436, allocations: 24.64 kB / 1.366 GB, free: 3.582 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00156/1.438, allocations: 0.8675 MB / 1.366 GB, free: 2.66 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003422/1.438, allocations: 0.7516 MB / 1.367 GB, free: 1.883 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0002591/1.439, allocations: 44.44 kB / 1.367 GB, free: 1.84 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001627/1.439, allocations: 79.39 kB / 1.367 GB, free: 1.762 MB / 0.9323 GB Notification: Performance of SimCode: time 5.21e-07/1.439, allocations: 0 / 1.367 GB, free: 1.762 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5232/1.962, allocations: 6.02 MB / 1.373 GB, free: 274.9 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001526/1.962, allocations: 198.2 kB / 1.373 GB, free: 274.7 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.062/4.024, allocations: 0 / 1.373 GB, free: 274.7 MB / 0.9323 GB (rm -f Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; mkfifo Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe >> ../files/Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain.fmu > Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1)