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.518/2.518, 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.0028/0.002801, allocations: 180.8 kB / 360.6 MB, free: 7.273 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.324/2.324, allocations: 205.3 MB / 0.6191 GB, free: 12.21 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.001109/0.001108, allocations: 92.5 kB / 0.7321 GB, free: 44.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.383e-05/2.386e-05, allocations: 4 kB / 0.8509 GB, free: 3.336 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8626/0.8626, allocations: 115.3 MB / 0.9634 GB, free: 78.58 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.254/2.116, allocations: 363.4 MB / 1.318 GB, free: 185.8 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003131/2.117, allocations: 90.56 kB / 1.318 GB, free: 185.8 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.05096/2.168, allocations: 11.5 MB / 1.33 GB, free: 182.6 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.705e-06/2.168, allocations: 0 / 1.33 GB, free: 182.6 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 2.613e-05/2.168, allocations: 10.91 kB / 1.33 GB, free: 182.6 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.001801/2.17, allocations: 0.6061 MB / 1.33 GB, free: 182.1 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.029e-05/2.17, allocations: 9.562 kB / 1.33 GB, free: 182.1 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001364/2.171, allocations: 139.5 kB / 1.33 GB, free: 182.1 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001554/2.173, allocations: 331.6 kB / 1.331 GB, free: 181.8 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.237e-05/2.173, allocations: 3.188 kB / 1.331 GB, free: 181.8 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.565e-05/2.173, allocations: 6.375 kB / 1.331 GB, free: 181.8 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004691/2.173, allocations: 139.9 kB / 1.331 GB, free: 181.8 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00038/2.174, allocations: 142.8 kB / 1.331 GB, free: 181.7 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/2.174, allocations: 3.938 kB / 1.331 GB, free: 181.7 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.456e-05/2.174, allocations: 0 / 1.331 GB, free: 181.7 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/2.174, allocations: 5.547 kB / 1.331 GB, free: 181.7 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002141/2.176, allocations: 0.5631 MB / 1.331 GB, free: 181.4 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000274/2.176, allocations: 98.25 kB / 1.332 GB, free: 181.3 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002075/2.177, allocations: 80.12 kB / 1.332 GB, free: 181.3 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009075/2.177, allocations: 0.5201 MB / 1.332 GB, free: 180.7 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.391e-05/2.178, allocations: 30.81 kB / 1.332 GB, free: 180.7 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=13): time 2.675e-06/2.178, allocations: 0 / 1.332 GB, free: 180.7 MB / 0.8542 GB Notification: Performance of matching and sorting (n=13): time 0.108/2.286, allocations: 3.784 MB / 1.336 GB, free: 179.1 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.686e-05/2.286, allocations: 51.41 kB / 1.336 GB, free: 179 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002816/2.286, allocations: 219.3 kB / 1.336 GB, free: 178.9 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 4.932e-05/2.286, allocations: 25.7 kB / 1.336 GB, free: 178.9 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 9.663e-05/2.286, allocations: 149.4 kB / 1.336 GB, free: 178.8 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 6.349e-05/2.286, allocations: 42.73 kB / 1.336 GB, free: 178.8 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.742e-05/2.286, allocations: 0 / 1.336 GB, free: 178.8 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 8.242e-05/2.286, allocations: 335.3 kB / 1.337 GB, free: 178.4 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002143/2.287, allocations: 77.58 kB / 1.337 GB, free: 178.4 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002039/2.287, allocations: 79.23 kB / 1.337 GB, free: 178.4 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3209/2.608, allocations: 10.77 MB / 1.347 GB, free: 173.9 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.771e-06/2.608, allocations: 0 / 1.347 GB, free: 173.9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.3379/2.946, allocations: 10.91 MB / 1.358 GB, free: 164.2 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.483e-05/2.946, allocations: 4 kB / 1.358 GB, free: 164.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/2.946, allocations: 0 / 1.358 GB, free: 164.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.986e-05/2.946, allocations: 0 / 1.358 GB, free: 164.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008235/2.947, allocations: 87.61 kB / 1.358 GB, free: 164.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.064e-06/2.947, allocations: 3.984 kB / 1.358 GB, free: 164.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006201/2.947, allocations: 59.8 kB / 1.358 GB, free: 164 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.05e-05/2.947, allocations: 7.984 kB / 1.358 GB, free: 164 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 0.0001055/2.947, allocations: 108.7 kB / 1.358 GB, free: 163.9 MB / 0.8542 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.1079/3.055, allocations: 3.783 MB / 1.362 GB, free: 160.2 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.58e-05/3.055, allocations: 23.72 kB / 1.362 GB, free: 160.2 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1082/3.164, allocations: 3.816 MB / 1.366 GB, free: 156.6 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.156e-06/3.164, allocations: 4 kB / 1.366 GB, free: 156.6 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.707e-06/3.164, allocations: 3.984 kB / 1.366 GB, free: 156.5 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/3.164, allocations: 0 / 1.366 GB, free: 156.5 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004404/3.164, allocations: 277.3 kB / 1.366 GB, free: 156.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/3.164, allocations: 0 / 1.366 GB, free: 156.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007471/3.165, allocations: 82.47 kB / 1.366 GB, free: 156.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.693e-06/3.165, allocations: 0 / 1.366 GB, free: 156.2 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.187e-05/3.165, allocations: 0 / 1.366 GB, free: 156.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/3.165, allocations: 0 / 1.366 GB, free: 156.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/3.165, allocations: 0 / 1.366 GB, free: 156.2 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1083/3.273, allocations: 3.888 MB / 1.37 GB, free: 152.4 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001707/3.273, allocations: 123.7 kB / 1.37 GB, free: 152.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.237e-05/3.274, allocations: 4 kB / 1.37 GB, free: 152.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006508/3.274, allocations: 47.95 kB / 1.37 GB, free: 152.3 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001071/3.274, allocations: 15.59 kB / 1.37 GB, free: 152.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.346e-05/3.274, allocations: 7.984 kB / 1.37 GB, free: 152.2 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001992/3.275, allocations: 169.5 kB / 1.37 GB, free: 152.1 MB / 0.8542 GB Notification: Performance of sort global known variables: time 4.21e-07/3.275, allocations: 4 kB / 1.37 GB, free: 152.1 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0005256/3.275, allocations: 76.86 kB / 1.37 GB, free: 152 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.1086/3.384, allocations: 4.496 MB / 1.375 GB, free: 147.6 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0005477/3.384, allocations: 180.5 kB / 1.375 GB, free: 147.5 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/3.384, allocations: 0 / 1.375 GB, free: 147.5 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0002447/3.385, allocations: 91.48 kB / 1.375 GB, free: 147.5 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004879/3.385, allocations: 38.02 kB / 1.375 GB, free: 147.5 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001283/3.386, allocations: 365.6 kB / 1.375 GB, free: 147.1 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002089/3.387, allocations: 0.7513 MB / 1.376 GB, free: 146.3 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0004697/3.387, allocations: 42.81 kB / 1.376 GB, free: 146.3 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002365/3.387, allocations: 76.39 kB / 1.376 GB, free: 146.3 MB / 0.8542 GB Notification: Performance of SimCode: time 2.344e-06/3.387, allocations: 0 / 1.376 GB, free: 146.3 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04054/3.428, allocations: 5.149 MB / 1.381 GB, free: 141.2 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002686/3.428, allocations: 158.2 kB / 1.381 GB, free: 141 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.727/6.155, allocations: 0 / 1.381 GB, free: 141 MB / 0.8542 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)