Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.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.EN12975HeatLoss,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss",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.407/2.407, allocations: 284.9 MB / 292.4 MB, free: 10.58 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.0022/0.0022, allocations: 176.9 kB / 360.6 MB, free: 7.301 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.119/2.119, allocations: 205.2 MB / 0.6191 GB, free: 12.18 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.0009993/0.0009991, allocations: 78.06 kB / 0.7321 GB, free: 44.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.411e-05/2.423e-05, allocations: 4 kB / 0.8509 GB, free: 3.336 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8145/0.8146, allocations: 115.3 MB / 0.9634 GB, free: 78.68 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.214/2.029, allocations: 362.2 MB / 1.317 GB, free: 186.2 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004766/2.029, allocations: 85.27 kB / 1.317 GB, free: 186.2 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.06281/2.092, allocations: 9.412 MB / 1.326 GB, free: 184.1 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.846e-06/2.092, allocations: 0 / 1.326 GB, free: 184.1 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 2.456e-05/2.092, allocations: 2.75 kB / 1.326 GB, free: 184.1 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.001422/2.094, allocations: 470.9 kB / 1.327 GB, free: 183.6 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 6.733e-05/2.094, allocations: 8.938 kB / 1.327 GB, free: 183.6 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001732/2.094, allocations: 23.92 kB / 1.327 GB, free: 183.6 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009339/2.095, allocations: 239 kB / 1.327 GB, free: 183.4 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.253e-05/2.095, allocations: 1.906 kB / 1.327 GB, free: 183.4 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.798e-05/2.095, allocations: 2.5 kB / 1.327 GB, free: 183.4 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003617/2.096, allocations: 71.81 kB / 1.327 GB, free: 183.4 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003949/2.096, allocations: 107.3 kB / 1.327 GB, free: 183.3 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.484e-05/2.096, allocations: 0 / 1.327 GB, free: 183.3 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.339e-05/2.096, allocations: 0 / 1.327 GB, free: 183.3 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.045e-05/2.096, allocations: 19.53 kB / 1.327 GB, free: 183.3 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001656/2.098, allocations: 433.6 kB / 1.328 GB, free: 183 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005134/2.098, allocations: 132.4 kB / 1.328 GB, free: 183 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003022/2.099, allocations: 86.19 kB / 1.328 GB, free: 182.9 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 4.46e-05/2.099, allocations: 6.266 kB / 1.328 GB, free: 182.9 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.833e-05/2.099, allocations: 35.22 kB / 1.328 GB, free: 182.9 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=13): time 5.27e-06/2.099, allocations: 0 / 1.328 GB, free: 182.9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=13): time 0.001378/2.1, allocations: 190.1 kB / 1.328 GB, free: 182.8 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.642e-05/2.1, allocations: 56.56 kB / 1.328 GB, free: 182.8 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003802/2.101, allocations: 184.9 kB / 1.328 GB, free: 182.6 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 4.324e-05/2.101, allocations: 25.7 kB / 1.328 GB, free: 182.6 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001078/2.101, allocations: 120 kB / 1.329 GB, free: 182.5 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 9.472e-05/2.101, allocations: 40.95 kB / 1.329 GB, free: 182.5 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.247e-05/2.101, allocations: 0 / 1.329 GB, free: 182.5 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001175/2.101, allocations: 332.8 kB / 1.329 GB, free: 182.2 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002166/2.102, allocations: 44.61 kB / 1.329 GB, free: 182.2 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002221/2.102, allocations: 48.45 kB / 1.329 GB, free: 182.2 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008049/2.103, allocations: 93.31 kB / 1.329 GB, free: 182.1 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.054e-06/2.103, allocations: 3.938 kB / 1.329 GB, free: 182.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001195/2.104, allocations: 187.6 kB / 1.329 GB, free: 182.1 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.672e-05/2.104, allocations: 7.5 kB / 1.329 GB, free: 182.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.147e-05/2.104, allocations: 0 / 1.329 GB, free: 182.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.88e-05/2.104, allocations: 1.25 kB / 1.329 GB, free: 182.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007443/2.105, allocations: 42.83 kB / 1.329 GB, free: 182.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.055e-05/2.105, allocations: 9.328 kB / 1.329 GB, free: 182 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005314/2.105, allocations: 20.27 kB / 1.329 GB, free: 182 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.086e-05/2.106, allocations: 2.312 kB / 1.329 GB, free: 182 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.0001363/2.106, allocations: 106.2 kB / 1.329 GB, free: 181.9 MB / 0.8542 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001284/2.107, allocations: 199.2 kB / 1.33 GB, free: 181.8 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000107/2.107, allocations: 16.56 kB / 1.33 GB, free: 181.8 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001307/2.107, allocations: 33.88 kB / 1.33 GB, free: 181.8 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.907e-06/2.107, allocations: 5.344 kB / 1.33 GB, free: 181.8 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/2.107, allocations: 0 / 1.33 GB, free: 181.8 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.285e-06/2.107, allocations: 1 kB / 1.33 GB, free: 181.8 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005731/2.108, allocations: 239.9 kB / 1.33 GB, free: 181.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.853e-06/2.108, allocations: 1.438 kB / 1.33 GB, free: 181.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006822/2.109, allocations: 35.25 kB / 1.33 GB, free: 181.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.129e-05/2.109, allocations: 0 / 1.33 GB, free: 181.6 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.576e-05/2.109, allocations: 9.359 kB / 1.33 GB, free: 181.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.533e-06/2.109, allocations: 0.9062 kB / 1.33 GB, free: 181.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.602e-06/2.109, allocations: 3.953 kB / 1.33 GB, free: 181.6 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001277/2.11, allocations: 287.2 kB / 1.33 GB, free: 181.4 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002305/2.11, allocations: 110.3 kB / 1.33 GB, free: 181.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.307e-05/2.111, allocations: 4.969 kB / 1.33 GB, free: 181.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005634/2.111, allocations: 24.91 kB / 1.33 GB, free: 181.3 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001/2.111, allocations: 7.453 kB / 1.33 GB, free: 181.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.72e-05/2.111, allocations: 8.484 kB / 1.33 GB, free: 181.3 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0002746/2.112, allocations: 146.9 kB / 1.33 GB, free: 181.2 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.282e-06/2.112, allocations: 1.5 kB / 1.33 GB, free: 181.2 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0007613/2.112, allocations: 36 kB / 1.331 GB, free: 181.2 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.001887/2.114, allocations: 0.8648 MB / 1.331 GB, free: 180.5 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0005784/2.115, allocations: 127.7 kB / 1.331 GB, free: 180.5 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 7.174e-06/2.115, allocations: 4 kB / 1.332 GB, free: 180.5 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0002577/2.115, allocations: 77.16 kB / 1.332 GB, free: 180.4 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006563/2.116, allocations: 26.12 kB / 1.332 GB, free: 180.4 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00152/2.118, allocations: 281.5 kB / 1.332 GB, free: 180.3 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003033/2.118, allocations: 0.7456 MB / 1.333 GB, free: 179.5 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0005162/2.118, allocations: 43.39 kB / 1.333 GB, free: 179.5 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000217/2.119, allocations: 52 kB / 1.333 GB, free: 179.5 MB / 0.8542 GB Notification: Performance of SimCode: time 2.164e-06/2.119, allocations: 0 / 1.333 GB, free: 179.5 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04489/2.164, allocations: 3.531 MB / 1.336 GB, free: 177.9 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000223/2.164, allocations: 158.3 kB / 1.336 GB, free: 177.7 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.461/4.625, allocations: 1.875 kB / 1.336 GB, free: 177.7 MB / 0.8542 GB (rm -f Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss.fmu > Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1)