Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.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.EN12975HeatLoss,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.497/1.497, allocations: 249.3 MB / 261.8 MB, free: 5.945 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.001091/0.001091, allocations: 178.1 kB / 321.3 MB, free: 14.63 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.638/1.638, allocations: 205.2 MB / 0.572 GB, free: 10.69 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.0008691/0.0008692, allocations: 90.47 kB / 0.6764 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.582e-05/3.583e-05, allocations: 4 kB / 0.788 GB, free: 97.02 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.229/0.2291, allocations: 106.3 MB / 0.8919 GB, free: 6.582 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9511/1.18, allocations: 355.5 MB / 1.239 GB, free: 10.92 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003109/1.181, allocations: 80.02 kB / 1.239 GB, free: 10.88 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.02419/1.205, allocations: 9.331 MB / 1.248 GB, free: 2.254 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.044e-06/1.205, allocations: 0 / 1.248 GB, free: 2.254 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.296e-05/1.205, allocations: 4 kB / 1.248 GB, free: 2.25 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.0006589/1.206, allocations: 461.9 kB / 1.249 GB, free: 1.754 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.368e-05/1.206, allocations: 12.03 kB / 1.249 GB, free: 1.742 MB / 0.8542 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.431e-05/1.206, allocations: 30.91 kB / 1.249 GB, free: 1.703 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.959e-05/1.206, allocations: 31.66 kB / 1.249 GB, free: 1.672 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004425/1.206, allocations: 233.8 kB / 1.249 GB, free: 1.406 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.294e-05/1.206, allocations: 7.922 kB / 1.249 GB, free: 1.398 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.399e-05/1.206, allocations: 8 kB / 1.249 GB, free: 1.391 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002365/1.207, allocations: 121.5 kB / 1.249 GB, free: 1.266 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/1.207, allocations: 4 kB / 1.249 GB, free: 1.262 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.576e-05/1.207, allocations: 0 / 1.249 GB, free: 1.262 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.166e-05/1.207, allocations: 11.98 kB / 1.249 GB, free: 1.25 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001871/1.207, allocations: 99.91 kB / 1.249 GB, free: 1.152 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007578/1.208, allocations: 456.5 kB / 1.25 GB, free: 0.6562 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002225/1.208, allocations: 147.3 kB / 1.25 GB, free: 0.5039 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001352/1.208, allocations: 85.06 kB / 1.25 GB, free: 428 kB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.045e-05/1.208, allocations: 8 kB / 1.25 GB, free: 420 kB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.354e-05/1.208, allocations: 34.52 kB / 1.25 GB, free: 376 kB / 0.8542 GB Notification: Performance of pre-optimization done (n=13): time 1.272e-06/1.208, allocations: 0 / 1.25 GB, free: 376 kB / 0.8542 GB Notification: Performance of matching and sorting (n=13): time 0.000384/1.208, allocations: 170 kB / 1.25 GB, free: 200 kB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.13e-05/1.208, allocations: 55.39 kB / 1.25 GB, free: 132 kB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.5586/1.767, allocations: 180.9 kB / 1.25 GB, free: 307.1 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 7.36e-05/1.767, allocations: 28.08 kB / 1.25 GB, free: 307.1 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001197/1.767, allocations: 122.9 kB / 1.25 GB, free: 307 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 7.778e-05/1.767, allocations: 42.84 kB / 1.25 GB, free: 307 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.313e-05/1.767, allocations: 3 kB / 1.25 GB, free: 307 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 9.687e-05/1.767, allocations: 329.3 kB / 1.251 GB, free: 306.7 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001432/1.768, allocations: 51.27 kB / 1.251 GB, free: 306.7 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001371/1.768, allocations: 50.56 kB / 1.251 GB, free: 306.7 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00017/1.768, allocations: 59.3 kB / 1.251 GB, free: 306.7 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.518e-06/1.768, allocations: 0.5625 kB / 1.251 GB, free: 306.7 MB / 0.8542 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003992/1.768, allocations: 164.2 kB / 1.251 GB, free: 306.6 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.48e-05/1.768, allocations: 5.906 kB / 1.251 GB, free: 306.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.081e-05/1.768, allocations: 2.922 kB / 1.251 GB, free: 306.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.181e-05/1.768, allocations: 1.969 kB / 1.251 GB, free: 306.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000329/1.769, allocations: 41.12 kB / 1.251 GB, free: 306.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.046e-05/1.769, allocations: 4.094 kB / 1.251 GB, free: 306.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001913/1.769, allocations: 26.06 kB / 1.251 GB, free: 306.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.247e-05/1.769, allocations: 5.812 kB / 1.251 GB, free: 306.6 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.41e-05/1.769, allocations: 112.5 kB / 1.251 GB, free: 306.5 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.739e-05/1.769, allocations: 20.3 kB / 1.251 GB, free: 306.5 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.137e-05/1.769, allocations: 26.8 kB / 1.251 GB, free: 306.5 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/1.769, allocations: 1.844 kB / 1.251 GB, free: 306.5 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.647e-06/1.769, allocations: 1.312 kB / 1.251 GB, free: 306.5 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/1.769, allocations: 1.172 kB / 1.251 GB, free: 306.5 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003547/1.77, allocations: 270.3 kB / 1.252 GB, free: 306.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/1.77, allocations: 1.562 kB / 1.252 GB, free: 306.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002331/1.77, allocations: 43.28 kB / 1.252 GB, free: 306.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/1.77, allocations: 1 kB / 1.252 GB, free: 306.3 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.039e-05/1.77, allocations: 8.078 kB / 1.252 GB, free: 306.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/1.77, allocations: 1.5 kB / 1.252 GB, free: 306.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/1.77, allocations: 0 / 1.252 GB, free: 306.3 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000378/1.77, allocations: 270.6 kB / 1.252 GB, free: 306.2 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001063/1.77, allocations: 117 kB / 1.252 GB, free: 306.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.284e-05/1.771, allocations: 3.797 kB / 1.252 GB, free: 306.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001986/1.771, allocations: 20.77 kB / 1.252 GB, free: 306.1 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.865e-05/1.771, allocations: 10.86 kB / 1.252 GB, free: 306.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.629e-05/1.771, allocations: 4.531 kB / 1.252 GB, free: 306.1 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001625/1.771, allocations: 153.7 kB / 1.252 GB, free: 306 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.91e-07/1.771, allocations: 0 / 1.252 GB, free: 306 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003042/1.771, allocations: 47.62 kB / 1.252 GB, free: 306 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.000754/1.772, allocations: 0.86 MB / 1.253 GB, free: 305.3 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002869/1.772, allocations: 128.7 kB / 1.253 GB, free: 305.3 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/1.772, allocations: 1.062 kB / 1.253 GB, free: 305.3 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001334/1.773, allocations: 71.61 kB / 1.253 GB, free: 305.3 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002836/1.773, allocations: 22.33 kB / 1.253 GB, free: 305.3 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007178/1.774, allocations: 301.4 kB / 1.254 GB, free: 305.2 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000214/1.774, allocations: 0.7339 MB / 1.254 GB, free: 304.5 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001896/1.774, allocations: 45.64 kB / 1.254 GB, free: 304.5 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000104/1.774, allocations: 55.22 kB / 1.254 GB, free: 304.5 MB / 0.8542 GB Notification: Performance of SimCode: time 5.21e-07/1.774, allocations: 0 / 1.254 GB, free: 304.5 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01826/1.792, allocations: 4.591 MB / 1.259 GB, free: 304.2 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001687/1.793, allocations: 185 kB / 1.259 GB, free: 304 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.822/3.614, allocations: 0 / 1.259 GB, free: 304 MB / 0.8542 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss.fmu > Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1)