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.639/1.639, allocations: 289.9 MB / 297.4 MB, free: 6.402 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.00106/0.00106, allocations: 184.8 kB / 366.7 MB, free: 1.688 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.709/1.709, allocations: 205.2 MB / 0.626 GB, free: 7.168 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.0009066/0.0009067, allocations: 82.95 kB / 0.74 GB, free: 39.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.064e-05/2.066e-05, allocations: 8 kB / 0.8598 GB, free: 12.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6112/0.6112, allocations: 116.3 MB / 0.9733 GB, free: 76.36 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8685/1.48, allocations: 364.5 MB / 1.329 GB, free: 227.3 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001962/1.48, allocations: 88.55 kB / 1.329 GB, free: 227.2 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.02614/1.506, allocations: 11.5 MB / 1.341 GB, free: 215.7 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.462e-06/1.506, allocations: 0 / 1.341 GB, free: 215.7 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.301e-05/1.506, allocations: 4 kB / 1.341 GB, free: 215.7 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0009453/1.507, allocations: 0.6071 MB / 1.341 GB, free: 215 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/1.507, allocations: 11.31 kB / 1.341 GB, free: 215 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006932/1.508, allocations: 139.5 kB / 1.341 GB, free: 214.9 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008234/1.509, allocations: 332.2 kB / 1.342 GB, free: 214.5 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.324e-05/1.509, allocations: 4 kB / 1.342 GB, free: 214.5 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.751e-05/1.509, allocations: 8 kB / 1.342 GB, free: 214.5 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000247/1.509, allocations: 133.8 kB / 1.342 GB, free: 214.4 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002205/1.509, allocations: 146.9 kB / 1.342 GB, free: 214.2 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.318e-06/1.509, allocations: 3.938 kB / 1.342 GB, free: 214.2 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.277e-05/1.509, allocations: 0 / 1.342 GB, free: 214.2 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/1.509, allocations: 4 kB / 1.342 GB, free: 214.2 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001081/1.51, allocations: 0.5676 MB / 1.343 GB, free: 213.6 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000136/1.511, allocations: 102.5 kB / 1.343 GB, free: 213.5 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001078/1.511, allocations: 80.84 kB / 1.343 GB, free: 213.4 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005139/1.511, allocations: 0.5103 MB / 1.343 GB, free: 212.8 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.484e-05/1.511, allocations: 38.55 kB / 1.343 GB, free: 212.8 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=13): time 1.393e-06/1.511, allocations: 4 kB / 1.343 GB, free: 212.7 MB / 0.8542 GB Notification: Performance of matching and sorting (n=13): time 0.04947/1.561, allocations: 3.77 MB / 1.347 GB, free: 209 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.65e-05/1.561, allocations: 51.41 kB / 1.347 GB, free: 208.9 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000222/1.561, allocations: 221.2 kB / 1.347 GB, free: 208.7 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.725e-05/1.561, allocations: 25.7 kB / 1.347 GB, free: 208.7 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 9.265e-05/1.561, allocations: 155.8 kB / 1.347 GB, free: 208.5 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.903e-05/1.561, allocations: 43.36 kB / 1.347 GB, free: 208.5 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.879e-05/1.561, allocations: 0 / 1.347 GB, free: 208.5 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 9.332e-05/1.561, allocations: 336.7 kB / 1.348 GB, free: 208.1 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001148/1.561, allocations: 75.92 kB / 1.348 GB, free: 208 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001084/1.562, allocations: 71.98 kB / 1.348 GB, free: 208 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1448/1.706, allocations: 10.76 MB / 1.358 GB, free: 197.2 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.748e-06/1.706, allocations: 4 kB / 1.358 GB, free: 197.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.1427/1.849, allocations: 10.91 MB / 1.369 GB, free: 186.3 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.222e-05/1.849, allocations: 8 kB / 1.369 GB, free: 186.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.178e-06/1.849, allocations: 0 / 1.369 GB, free: 186.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.543e-05/1.849, allocations: 0 / 1.369 GB, free: 186.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004965/1.85, allocations: 87.84 kB / 1.369 GB, free: 186.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.191e-05/1.85, allocations: 6.109 kB / 1.369 GB, free: 186.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003813/1.85, allocations: 55.8 kB / 1.369 GB, free: 186.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.728e-05/1.85, allocations: 7.984 kB / 1.369 GB, free: 186.1 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 (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 9.767e-05/1.85, allocations: 105 kB / 1.369 GB, free: 186 MB / 0.8542 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.04935/1.9, allocations: 3.788 MB / 1.373 GB, free: 182.2 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.421e-05/1.9, allocations: 19.72 kB / 1.373 GB, free: 182.2 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04995/1.95, allocations: 3.819 MB / 1.377 GB, free: 178.3 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.173e-06/1.95, allocations: 0 / 1.377 GB, free: 178.3 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/1.95, allocations: 0 / 1.377 GB, free: 178.3 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/1.95, allocations: 0 / 1.377 GB, free: 178.3 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003233/1.95, allocations: 284.3 kB / 1.377 GB, free: 178 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/1.95, allocations: 3.984 kB / 1.377 GB, free: 178 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004212/1.951, allocations: 71.92 kB / 1.377 GB, free: 178 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.061e-06/1.951, allocations: 4 kB / 1.377 GB, free: 178 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.011e-05/1.951, allocations: 0 / 1.377 GB, free: 178 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/1.951, allocations: 7.984 kB / 1.377 GB, free: 177.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/1.951, allocations: 0 / 1.377 GB, free: 177.9 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05105/2.002, allocations: 3.881 MB / 1.381 GB, free: 174 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001163/2.002, allocations: 120.7 kB / 1.381 GB, free: 173.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.651e-05/2.002, allocations: 0 / 1.381 GB, free: 173.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003543/2.002, allocations: 51.94 kB / 1.381 GB, free: 173.9 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.493e-05/2.002, allocations: 15.98 kB / 1.381 GB, free: 173.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.941e-05/2.002, allocations: 3.984 kB / 1.381 GB, free: 173.8 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001509/2.003, allocations: 176.6 kB / 1.381 GB, free: 173.7 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.3e-07/2.003, allocations: 0 / 1.381 GB, free: 173.7 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0004038/2.003, allocations: 75.84 kB / 1.381 GB, free: 173.6 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 (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.04939/2.052, allocations: 4.505 MB / 1.386 GB, free: 169.1 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.000346/2.053, allocations: 185.6 kB / 1.386 GB, free: 168.9 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/2.053, allocations: 0 / 1.386 GB, free: 168.9 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001287/2.053, allocations: 91.97 kB / 1.386 GB, free: 168.8 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003239/2.053, allocations: 24.7 kB / 1.386 GB, free: 168.8 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007878/2.054, allocations: 362.5 kB / 1.386 GB, free: 168.4 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001643/2.054, allocations: 0.7552 MB / 1.387 GB, free: 167.6 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0002514/2.055, allocations: 48.22 kB / 1.387 GB, free: 167.5 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001356/2.055, allocations: 75.39 kB / 1.387 GB, free: 167.5 MB / 0.8542 GB Notification: Performance of SimCode: time 1.022e-06/2.055, allocations: 0 / 1.387 GB, free: 167.5 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02383/2.078, allocations: 5.147 MB / 1.392 GB, free: 162.4 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001558/2.079, allocations: 161.8 kB / 1.392 GB, free: 162.2 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.921/4, allocations: 0 / 1.392 GB, free: 162.2 MB / 0.8542 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)