Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,fileNamePrefix="Buildings_8_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.709/1.709, allocations: 289.9 MB / 297.4 MB, free: 6.406 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.001079/0.001079, allocations: 176.9 kB / 366.7 MB, free: 1.695 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.61/1.61, allocations: 205.2 MB / 0.626 GB, free: 7.195 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.0008835/0.0008834, allocations: 97.86 kB / 0.74 GB, free: 39.56 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.22e-05/3.189e-05, allocations: 4 kB / 0.8598 GB, free: 12.99 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7522/0.7523, allocations: 116.3 MB / 0.9733 GB, free: 76.22 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8925/1.645, allocations: 363.3 MB / 1.328 GB, free: 178.3 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002635/1.645, allocations: 87.56 kB / 1.328 GB, free: 178.3 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.02025/1.665, allocations: 9.413 MB / 1.337 GB, free: 175 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.563e-06/1.666, allocations: 0 / 1.337 GB, free: 175 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.243e-05/1.666, allocations: 3.938 kB / 1.337 GB, free: 175 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.0005417/1.666, allocations: 459.5 kB / 1.338 GB, free: 174.6 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.614e-05/1.666, allocations: 11.7 kB / 1.338 GB, free: 174.6 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.787e-05/1.666, allocations: 23.61 kB / 1.338 GB, free: 174.6 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000377/1.667, allocations: 239.8 kB / 1.338 GB, free: 174.4 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.038e-05/1.667, allocations: 0 / 1.338 GB, free: 174.4 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.955e-05/1.667, allocations: 3.906 kB / 1.338 GB, free: 174.4 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001279/1.667, allocations: 72.25 kB / 1.338 GB, free: 174.4 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001543/1.667, allocations: 109.9 kB / 1.338 GB, free: 174.3 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.725e-06/1.667, allocations: 0 / 1.338 GB, free: 174.3 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.609e-05/1.667, allocations: 0 / 1.338 GB, free: 174.3 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.462e-05/1.667, allocations: 15.27 kB / 1.338 GB, free: 174.3 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005627/1.668, allocations: 445.1 kB / 1.339 GB, free: 174 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001599/1.668, allocations: 136.9 kB / 1.339 GB, free: 173.9 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.624e-05/1.668, allocations: 76.3 kB / 1.339 GB, free: 173.9 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.024e-05/1.668, allocations: 4 kB / 1.339 GB, free: 173.9 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.707e-05/1.668, allocations: 37.78 kB / 1.339 GB, free: 173.9 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=13): time 1.192e-06/1.668, allocations: 0 / 1.339 GB, free: 173.9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=13): time 0.0004745/1.668, allocations: 192 kB / 1.339 GB, free: 173.8 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.84e-05/1.668, allocations: 55.16 kB / 1.339 GB, free: 173.7 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001347/1.669, allocations: 179.5 kB / 1.339 GB, free: 173.6 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.602e-05/1.669, allocations: 25.7 kB / 1.339 GB, free: 173.6 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 4.943e-05/1.669, allocations: 120.7 kB / 1.34 GB, free: 173.5 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.474e-05/1.669, allocations: 42.33 kB / 1.34 GB, free: 173.5 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.116e-05/1.669, allocations: 0 / 1.34 GB, free: 173.5 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.114e-05/1.669, allocations: 329.4 kB / 1.34 GB, free: 173.2 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.027e-05/1.669, allocations: 48.97 kB / 1.34 GB, free: 173.2 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.457e-05/1.669, allocations: 48.02 kB / 1.34 GB, free: 173.2 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002542/1.669, allocations: 86.91 kB / 1.34 GB, free: 173.1 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/1.669, allocations: 0 / 1.34 GB, free: 173.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003697/1.67, allocations: 198.3 kB / 1.34 GB, free: 173.1 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/1.67, allocations: 3.875 kB / 1.34 GB, free: 173.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/1.67, allocations: 0 / 1.34 GB, free: 173.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/1.67, allocations: 0 / 1.34 GB, free: 173.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002484/1.67, allocations: 38.88 kB / 1.34 GB, free: 173 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/1.67, allocations: 7.859 kB / 1.34 GB, free: 173 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001618/1.67, allocations: 27.5 kB / 1.34 GB, free: 173 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.553e-05/1.67, allocations: 2.062 kB / 1.34 GB, free: 173 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 9.453e-05/1.67, allocations: 104.9 kB / 1.34 GB, free: 172.9 MB / 0.8542 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003914/1.671, allocations: 198.7 kB / 1.341 GB, free: 172.8 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.433e-05/1.671, allocations: 15.62 kB / 1.341 GB, free: 172.8 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.18e-05/1.671, allocations: 20.88 kB / 1.341 GB, free: 172.8 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/1.671, allocations: 15.84 kB / 1.341 GB, free: 172.8 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/1.671, allocations: 3.984 kB / 1.341 GB, free: 172.8 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/1.671, allocations: 0 / 1.341 GB, free: 172.8 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002005/1.671, allocations: 238.5 kB / 1.341 GB, free: 172.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/1.671, allocations: 0 / 1.341 GB, free: 172.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002125/1.671, allocations: 35.03 kB / 1.341 GB, free: 172.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/1.671, allocations: 3.906 kB / 1.341 GB, free: 172.6 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.314e-05/1.671, allocations: 3.938 kB / 1.341 GB, free: 172.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/1.671, allocations: 3.984 kB / 1.341 GB, free: 172.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/1.671, allocations: 4 kB / 1.341 GB, free: 172.6 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003912/1.672, allocations: 291.2 kB / 1.341 GB, free: 172.4 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 6.838e-05/1.672, allocations: 115.5 kB / 1.341 GB, free: 172.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.127e-05/1.672, allocations: 0 / 1.341 GB, free: 172.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001894/1.672, allocations: 21.11 kB / 1.341 GB, free: 172.3 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.342e-05/1.672, allocations: 11.88 kB / 1.341 GB, free: 172.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.138e-05/1.672, allocations: 3.906 kB / 1.341 GB, free: 172.3 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 8.081e-05/1.672, allocations: 145.1 kB / 1.342 GB, free: 172.2 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.5e-07/1.672, allocations: 1.125 kB / 1.342 GB, free: 172.2 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002614/1.672, allocations: 43.05 kB / 1.342 GB, free: 172.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.0006679/1.673, allocations: 0.8679 MB / 1.342 GB, free: 171.5 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002119/1.673, allocations: 127.1 kB / 1.343 GB, free: 171.5 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/1.673, allocations: 0 / 1.343 GB, free: 171.5 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 8.783e-05/1.673, allocations: 68.45 kB / 1.343 GB, free: 171.4 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002741/1.674, allocations: 26.34 kB / 1.343 GB, free: 171.4 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005724/1.674, allocations: 281.6 kB / 1.343 GB, free: 171.3 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001372/1.674, allocations: 0.7344 MB / 1.344 GB, free: 170.5 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001646/1.674, allocations: 54.5 kB / 1.344 GB, free: 170.5 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.641e-05/1.675, allocations: 54.78 kB / 1.344 GB, free: 170.5 MB / 0.8542 GB Notification: Performance of SimCode: time 2.7e-07/1.675, allocations: 0 / 1.344 GB, free: 170.5 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02027/1.695, allocations: 3.532 MB / 1.347 GB, free: 168.9 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001569/1.695, allocations: 160 kB / 1.347 GB, free: 168.7 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.687/3.382, allocations: 0 / 1.347 GB, free: 168.7 MB / 0.8542 GB (rm -f Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; mkfifo Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe >> ../files/Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss.fmu > Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1)