Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.637/1.637, allocations: 249.3 MB / 261.8 MB, free: 5.82 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001201/0.001201, allocations: 176.5 kB / 321.3 MB, free: 14.67 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.552/1.552, allocations: 205.2 MB / 0.572 GB, free: 10.7 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000933/0.0009328, allocations: 82.48 kB / 0.6764 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.678e-05/3.682e-05, allocations: 0 / 0.788 GB, free: 97.03 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2295/0.2296, allocations: 106.3 MB / 0.8919 GB, free: 6.598 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9669/1.197, allocations: 355.4 MB / 1.239 GB, free: 11.05 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000252/1.197, allocations: 91.55 kB / 1.239 GB, free: 11 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.02474/1.222, allocations: 9.194 MB / 1.248 GB, free: 2.504 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.302e-06/1.222, allocations: 0 / 1.248 GB, free: 2.504 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.515e-05/1.222, allocations: 4 kB / 1.248 GB, free: 2.5 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.0008119/1.223, allocations: 466.2 kB / 1.248 GB, free: 2 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.313e-05/1.223, allocations: 8.031 kB / 1.248 GB, free: 1.992 MB / 0.8542 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.183e-05/1.223, allocations: 38.56 kB / 1.248 GB, free: 1.945 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.766e-05/1.223, allocations: 31.66 kB / 1.249 GB, free: 1.914 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005081/1.223, allocations: 233.7 kB / 1.249 GB, free: 1.648 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.284e-05/1.223, allocations: 7.938 kB / 1.249 GB, free: 1.641 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.797e-05/1.223, allocations: 4 kB / 1.249 GB, free: 1.637 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000299/1.224, allocations: 117.5 kB / 1.249 GB, free: 1.516 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/1.224, allocations: 4 kB / 1.249 GB, free: 1.512 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.932e-05/1.224, allocations: 0 / 1.249 GB, free: 1.512 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.868e-05/1.224, allocations: 15.98 kB / 1.249 GB, free: 1.496 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002531/1.224, allocations: 83.92 kB / 1.249 GB, free: 1.414 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009154/1.225, allocations: 448.6 kB / 1.249 GB, free: 0.9258 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002898/1.225, allocations: 134.5 kB / 1.25 GB, free: 0.7852 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001795/1.225, allocations: 76.83 kB / 1.25 GB, free: 0.707 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.542e-05/1.225, allocations: 3.984 kB / 1.25 GB, free: 0.7031 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.446e-05/1.225, allocations: 42.52 kB / 1.25 GB, free: 0.6523 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=13): time 1.613e-06/1.225, allocations: 0 / 1.25 GB, free: 0.6523 MB / 0.8542 GB Notification: Performance of matching and sorting (n=13): time 0.0004968/1.226, allocations: 163 kB / 1.25 GB, free: 500 kB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.942e-05/1.226, allocations: 63.33 kB / 1.25 GB, free: 424 kB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000248/1.226, allocations: 180.9 kB / 1.25 GB, free: 236 kB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.58e-05/1.226, allocations: 25.7 kB / 1.25 GB, free: 204 kB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.000114/1.226, allocations: 124.1 kB / 1.25 GB, free: 76 kB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 5.444e-05/1.227, allocations: 39.36 kB / 1.25 GB, free: 36 kB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.18e-05/1.227, allocations: 0 / 1.25 GB, free: 36 kB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.4961/1.723, allocations: 328.9 kB / 1.251 GB, free: 303.3 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002204/1.723, allocations: 46.33 kB / 1.251 GB, free: 303.3 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001125/1.723, allocations: 46.39 kB / 1.251 GB, free: 303.3 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000175/1.723, allocations: 53.81 kB / 1.251 GB, free: 303.3 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.841e-06/1.723, allocations: 1.656 kB / 1.251 GB, free: 303.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004287/1.724, allocations: 157.7 kB / 1.251 GB, free: 303.3 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.749e-05/1.724, allocations: 7.406 kB / 1.251 GB, free: 303.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/1.724, allocations: 1.25 kB / 1.251 GB, free: 303.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.48e-05/1.724, allocations: 2.5 kB / 1.251 GB, free: 303.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003135/1.724, allocations: 39.97 kB / 1.251 GB, free: 303.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.839e-06/1.724, allocations: 3.969 kB / 1.251 GB, free: 303.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001904/1.724, allocations: 21.75 kB / 1.251 GB, free: 303.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.143e-05/1.724, allocations: 5.328 kB / 1.251 GB, free: 303.3 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 7.328e-05/1.724, allocations: 116.3 kB / 1.251 GB, free: 303.2 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.942e-05/1.724, allocations: 21.2 kB / 1.251 GB, free: 303.2 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.639e-05/1.725, allocations: 25.28 kB / 1.251 GB, free: 303.2 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/1.725, allocations: 1.156 kB / 1.251 GB, free: 303.2 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/1.725, allocations: 6.625 kB / 1.251 GB, free: 303.2 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/1.725, allocations: 1.125 kB / 1.251 GB, free: 303.2 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003327/1.725, allocations: 256.4 kB / 1.251 GB, free: 303 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/1.725, allocations: 0 / 1.251 GB, free: 303 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002234/1.725, allocations: 40.48 kB / 1.251 GB, free: 303 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/1.725, allocations: 2.281 kB / 1.251 GB, free: 303 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.921e-05/1.725, allocations: 6.172 kB / 1.251 GB, free: 303 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.237e-06/1.725, allocations: 1.281 kB / 1.251 GB, free: 303 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/1.725, allocations: 1.406 kB / 1.251 GB, free: 303 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003573/1.726, allocations: 262.8 kB / 1.252 GB, free: 302.8 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001055/1.726, allocations: 112.6 kB / 1.252 GB, free: 302.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.27e-05/1.726, allocations: 3.891 kB / 1.252 GB, free: 302.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001882/1.726, allocations: 22.17 kB / 1.252 GB, free: 302.7 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.397e-05/1.726, allocations: 13.2 kB / 1.252 GB, free: 302.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.676e-05/1.726, allocations: 5.312 kB / 1.252 GB, free: 302.7 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.000149/1.726, allocations: 150.8 kB / 1.252 GB, free: 302.6 MB / 0.8542 GB Notification: Performance of sort global known variables: time 2.1e-07/1.726, allocations: 0 / 1.252 GB, free: 302.6 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003129/1.727, allocations: 37.62 kB / 1.252 GB, free: 302.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.0007526/1.727, allocations: 0.8588 MB / 1.253 GB, free: 302 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0003033/1.728, allocations: 120.1 kB / 1.253 GB, free: 302 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/1.728, allocations: 0 / 1.253 GB, free: 302 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001408/1.728, allocations: 65.72 kB / 1.253 GB, free: 302 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002818/1.728, allocations: 22.09 kB / 1.253 GB, free: 302 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007015/1.729, allocations: 288.5 kB / 1.253 GB, free: 301.8 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002144/1.729, allocations: 0.7399 MB / 1.254 GB, free: 301.1 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001897/1.729, allocations: 48.78 kB / 1.254 GB, free: 301.1 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.58e-05/1.729, allocations: 52.22 kB / 1.254 GB, free: 301.1 MB / 0.8542 GB Notification: Performance of SimCode: time 3.51e-07/1.729, allocations: 0 / 1.254 GB, free: 301.1 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01801/1.747, allocations: 4.451 MB / 1.258 GB, free: 300.8 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001781/1.748, allocations: 183.9 kB / 1.259 GB, free: 300.6 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.733/3.481, allocations: 0 / 1.259 GB, free: 300.6 MB / 0.8542 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss.fmu > Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe 2>&1)