Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.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.ASHRAEHeatLoss,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss",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.764/2.764, allocations: 284.9 MB / 292.4 MB, free: 10.57 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.002372/0.002372, allocations: 176.8 kB / 360.6 MB, free: 7.27 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.069/2.069, allocations: 205.3 MB / 0.6191 GB, free: 12.2 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.001095/0.001094, allocations: 87.38 kB / 0.7321 GB, free: 44.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.268e-05/3.286e-05, allocations: 4 kB / 0.8509 GB, free: 3.324 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.893/0.8931, allocations: 115.3 MB / 0.9634 GB, free: 78.62 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.213/2.106, allocations: 362.1 MB / 1.317 GB, free: 186.2 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003001/2.106, allocations: 84.84 kB / 1.317 GB, free: 186.2 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.03537/2.142, allocations: 9.29 MB / 1.326 GB, free: 184.2 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.644e-06/2.142, allocations: 0 / 1.326 GB, free: 184.2 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.481e-05/2.142, allocations: 6.5 kB / 1.326 GB, free: 184.2 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0008145/2.143, allocations: 459.3 kB / 1.327 GB, free: 183.8 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.67e-05/2.143, allocations: 12.78 kB / 1.327 GB, free: 183.8 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.52e-05/2.143, allocations: 24.95 kB / 1.327 GB, free: 183.8 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005151/2.143, allocations: 240.5 kB / 1.327 GB, free: 183.5 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/2.143, allocations: 1.062 kB / 1.327 GB, free: 183.5 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.512e-05/2.143, allocations: 3.719 kB / 1.327 GB, free: 183.5 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002116/2.143, allocations: 65.09 kB / 1.327 GB, free: 183.5 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002366/2.144, allocations: 102.9 kB / 1.327 GB, free: 183.5 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/2.144, allocations: 0 / 1.327 GB, free: 183.5 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.144e-05/2.144, allocations: 0 / 1.327 GB, free: 183.5 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.994e-05/2.144, allocations: 19.83 kB / 1.327 GB, free: 183.5 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000965/2.145, allocations: 421.4 kB / 1.327 GB, free: 183.2 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002828/2.145, allocations: 130.3 kB / 1.328 GB, free: 183.1 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001765/2.145, allocations: 69.84 kB / 1.328 GB, free: 183.1 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.957e-05/2.145, allocations: 5.203 kB / 1.328 GB, free: 183.1 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.942e-05/2.145, allocations: 31.88 kB / 1.328 GB, free: 183.1 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=13): time 2.475e-06/2.145, allocations: 0 / 1.328 GB, free: 183.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=13): time 0.0008179/2.146, allocations: 189 kB / 1.328 GB, free: 183 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.38e-05/2.146, allocations: 53.84 kB / 1.328 GB, free: 182.9 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000216/2.147, allocations: 177.3 kB / 1.328 GB, free: 182.8 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.173e-05/2.147, allocations: 25.7 kB / 1.328 GB, free: 182.8 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 6.842e-05/2.147, allocations: 121.4 kB / 1.328 GB, free: 182.7 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 5.243e-05/2.147, allocations: 43.95 kB / 1.328 GB, free: 182.7 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.512e-05/2.147, allocations: 1.344 kB / 1.328 GB, free: 182.7 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 7.166e-05/2.147, allocations: 329.3 kB / 1.329 GB, free: 182.4 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001265/2.147, allocations: 43.27 kB / 1.329 GB, free: 182.4 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001243/2.147, allocations: 50.39 kB / 1.329 GB, free: 182.3 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004488/2.148, allocations: 87.06 kB / 1.329 GB, free: 182.3 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/2.148, allocations: 0 / 1.329 GB, free: 182.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0006861/2.148, allocations: 178.4 kB / 1.329 GB, free: 182.2 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/2.148, allocations: 4.469 kB / 1.329 GB, free: 182.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/2.148, allocations: 0.875 kB / 1.329 GB, free: 182.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.921e-05/2.148, allocations: 0.9375 kB / 1.329 GB, free: 182.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005021/2.149, allocations: 47.88 kB / 1.329 GB, free: 182.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.028e-06/2.149, allocations: 3.953 kB / 1.329 GB, free: 182.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006486/2.15, allocations: 23.28 kB / 1.329 GB, free: 182.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.612e-05/2.15, allocations: 3.906 kB / 1.329 GB, free: 182.2 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 (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 prepare postOptimizeDAE: time 0.000152/2.15, allocations: 108.7 kB / 1.329 GB, free: 182.1 MB / 0.8542 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001001/2.151, allocations: 188.2 kB / 1.329 GB, free: 182 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.588e-05/2.151, allocations: 24.81 kB / 1.329 GB, free: 182 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.955e-05/2.151, allocations: 25.14 kB / 1.329 GB, free: 182 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.6e-06/2.151, allocations: 5.453 kB / 1.329 GB, free: 182 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/2.151, allocations: 0 / 1.329 GB, free: 182 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.9e-06/2.151, allocations: 3.406 kB / 1.329 GB, free: 182 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003179/2.151, allocations: 224.2 kB / 1.33 GB, free: 181.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/2.151, allocations: 3.984 kB / 1.33 GB, free: 181.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003883/2.152, allocations: 35.81 kB / 1.33 GB, free: 181.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.001e-06/2.152, allocations: 5.344 kB / 1.33 GB, free: 181.8 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.044e-05/2.152, allocations: 1.094 kB / 1.33 GB, free: 181.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.028e-06/2.152, allocations: 2.891 kB / 1.33 GB, free: 181.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/2.152, allocations: 1.375 kB / 1.33 GB, free: 181.8 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007109/2.153, allocations: 293.6 kB / 1.33 GB, free: 181.6 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001189/2.153, allocations: 105.9 kB / 1.33 GB, free: 181.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.161e-05/2.153, allocations: 1.406 kB / 1.33 GB, free: 181.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003067/2.153, allocations: 18.42 kB / 1.33 GB, free: 181.5 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.131e-05/2.153, allocations: 8.703 kB / 1.33 GB, free: 181.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.276e-05/2.153, allocations: 7.156 kB / 1.33 GB, free: 181.5 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001418/2.153, allocations: 146.2 kB / 1.33 GB, free: 181.4 MB / 0.8542 GB Notification: Performance of sort global known variables: time 4.3e-07/2.153, allocations: 1.156 kB / 1.33 GB, free: 181.4 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0004085/2.154, allocations: 37.19 kB / 1.33 GB, free: 181.4 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.001017/2.155, allocations: 0.8683 MB / 1.331 GB, free: 180.7 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0003217/2.155, allocations: 113.6 kB / 1.331 GB, free: 180.6 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/2.155, allocations: 3.188 kB / 1.331 GB, free: 180.6 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001503/2.155, allocations: 61.14 kB / 1.331 GB, free: 180.6 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000361/2.156, allocations: 24.38 kB / 1.331 GB, free: 180.6 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008747/2.157, allocations: 275.2 kB / 1.331 GB, free: 180.4 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001919/2.157, allocations: 0.7343 MB / 1.332 GB, free: 179.7 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0002927/2.157, allocations: 46.91 kB / 1.332 GB, free: 179.7 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000133/2.157, allocations: 52.88 kB / 1.332 GB, free: 179.7 MB / 0.8542 GB Notification: Performance of SimCode: time 1.002e-06/2.157, allocations: 0 / 1.332 GB, free: 179.7 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04141/2.199, allocations: 3.421 MB / 1.336 GB, free: 178.1 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002153/2.199, allocations: 160.1 kB / 1.336 GB, free: 177.9 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.446/4.645, allocations: 0 / 1.336 GB, free: 177.9 MB / 0.8542 GB (rm -f Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss.fmu > Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe 2>&1)