Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.78/1.78, allocations: 288.2 MB / 303.2 MB, free: 8.004 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.001232/0.001232, allocations: 187.1 kB / 371.8 MB, free: 10.13 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.832/1.832, allocations: 205.4 MB / 0.6305 GB, free: 10.02 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009496/0.0009494, allocations: 102.8 kB / 0.7439 GB, free: 5.934 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004034/0.0004034, allocations: 11.62 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2305/0.2309, allocations: 115.3 MB / 0.9795 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9465/1.177, allocations: 363.1 MB / 1.334 GB, free: 0.9453 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002869/1.178, allocations: 94.25 kB / 1.334 GB, free: 0.8906 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.02462/1.202, allocations: 9.54 MB / 1.343 GB, free: 9.07 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.783e-06/1.202, allocations: 0 / 1.343 GB, free: 9.07 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.835e-05/1.203, allocations: 4 kB / 1.343 GB, free: 9.066 MB / 0.8698 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.0008496/1.203, allocations: 0.4905 MB / 1.344 GB, free: 8.543 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/1.203, allocations: 8.031 kB / 1.344 GB, free: 8.535 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.619e-05/1.203, allocations: 42.48 kB / 1.344 GB, free: 8.488 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.376e-05/1.204, allocations: 24.02 kB / 1.344 GB, free: 8.465 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004745/1.204, allocations: 244.1 kB / 1.344 GB, free: 8.199 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.384e-05/1.204, allocations: 4.547 kB / 1.344 GB, free: 8.195 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.798e-05/1.204, allocations: 3.984 kB / 1.344 GB, free: 8.191 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003749/1.204, allocations: 156.1 kB / 1.344 GB, free: 8.059 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/1.204, allocations: 0 / 1.344 GB, free: 8.059 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.614e-05/1.205, allocations: 0 / 1.344 GB, free: 8.059 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.187e-05/1.205, allocations: 11.98 kB / 1.344 GB, free: 8.047 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004371/1.205, allocations: 159 kB / 1.345 GB, free: 7.922 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007731/1.206, allocations: 466 kB / 1.345 GB, free: 7.477 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004024/1.206, allocations: 173.4 kB / 1.345 GB, free: 7.34 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.47e-05/1.206, allocations: 4 kB / 1.345 GB, free: 7.336 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.074e-05/1.206, allocations: 33.81 kB / 1.345 GB, free: 7.297 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=13): time 1.423e-06/1.206, allocations: 0 / 1.345 GB, free: 7.297 MB / 0.8698 GB Notification: Performance of matching and sorting (n=13): time 0.0008393/1.207, allocations: 328.8 kB / 1.346 GB, free: 7.023 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.888e-05/1.207, allocations: 55.41 kB / 1.346 GB, free: 6.957 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001825/1.207, allocations: 187.7 kB / 1.346 GB, free: 6.797 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.613e-05/1.207, allocations: 25.7 kB / 1.346 GB, free: 6.766 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 7.562e-05/1.207, allocations: 123.2 kB / 1.346 GB, free: 6.668 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 4.722e-05/1.208, allocations: 54.16 kB / 1.346 GB, free: 6.621 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.007e-06/1.208, allocations: 4 kB / 1.346 GB, free: 6.617 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001271/1.208, allocations: 326.2 kB / 1.346 GB, free: 6.297 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002412/1.208, allocations: 80.5 kB / 1.346 GB, free: 6.234 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000207/1.208, allocations: 85.73 kB / 1.346 GB, free: 6.168 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002265/1.208, allocations: 94.75 kB / 1.347 GB, free: 6.098 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/1.208, allocations: 0 / 1.347 GB, free: 6.098 MB / 0.8698 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005241/1.209, allocations: 231 kB / 1.347 GB, free: 5.902 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/1.209, allocations: 7.984 kB / 1.347 GB, free: 5.895 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/1.209, allocations: 0.625 kB / 1.347 GB, free: 5.895 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/1.209, allocations: 0 / 1.347 GB, free: 5.895 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002637/1.209, allocations: 39.92 kB / 1.347 GB, free: 5.855 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.643e-06/1.209, allocations: 0 / 1.347 GB, free: 5.855 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001796/1.209, allocations: 27.89 kB / 1.347 GB, free: 5.828 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.709e-05/1.209, allocations: 7.859 kB / 1.347 GB, free: 5.824 MB / 0.8698 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 () * Number of clocked 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.0001194/1.21, allocations: 120.3 kB / 1.347 GB, free: 5.703 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.042e-05/1.21, allocations: 27.75 kB / 1.347 GB, free: 5.676 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.335e-05/1.21, allocations: 31.7 kB / 1.347 GB, free: 5.656 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/1.21, allocations: 3.938 kB / 1.347 GB, free: 5.652 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.666e-06/1.21, allocations: 3.953 kB / 1.347 GB, free: 5.648 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/1.21, allocations: 8 kB / 1.347 GB, free: 5.641 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002824/1.21, allocations: 266.2 kB / 1.347 GB, free: 5.363 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/1.21, allocations: 4 kB / 1.347 GB, free: 5.359 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000233/1.21, allocations: 35.66 kB / 1.347 GB, free: 5.328 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/1.21, allocations: 4 kB / 1.347 GB, free: 5.324 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.577e-05/1.21, allocations: 0 / 1.347 GB, free: 5.324 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/1.21, allocations: 0 / 1.347 GB, free: 5.324 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/1.21, allocations: 3.984 kB / 1.347 GB, free: 5.32 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005662/1.211, allocations: 340.4 kB / 1.348 GB, free: 5.016 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001126/1.211, allocations: 108.5 kB / 1.348 GB, free: 4.895 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.139e-05/1.211, allocations: 7.062 kB / 1.348 GB, free: 4.891 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002003/1.211, allocations: 15.98 kB / 1.348 GB, free: 4.875 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.443e-05/1.211, allocations: 11.36 kB / 1.348 GB, free: 4.867 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.291e-05/1.211, allocations: 0 / 1.348 GB, free: 4.867 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0001307/1.212, allocations: 163 kB / 1.348 GB, free: 4.727 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2.2e-07/1.212, allocations: 0 / 1.348 GB, free: 4.727 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0003087/1.212, allocations: 51.33 kB / 1.348 GB, free: 4.68 MB / 0.8698 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 () * Number of clocked 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.0009638/1.213, allocations: 0.917 MB / 1.349 GB, free: 3.781 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0005055/1.213, allocations: 189.5 kB / 1.349 GB, free: 3.633 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/1.213, allocations: 0 / 1.349 GB, free: 3.633 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002417/1.214, allocations: 101.2 kB / 1.349 GB, free: 3.551 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002843/1.214, allocations: 26.73 kB / 1.349 GB, free: 3.535 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002244/1.216, allocations: 1.307 MB / 1.35 GB, free: 2.344 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002914/1.216, allocations: 0.7431 MB / 1.351 GB, free: 1.574 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0001931/1.217, allocations: 40.61 kB / 1.351 GB, free: 1.531 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001045/1.217, allocations: 53.28 kB / 1.351 GB, free: 1.508 MB / 0.8698 GB Notification: Performance of SimCode: time 7.81e-07/1.217, allocations: 0 / 1.351 GB, free: 1.508 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01645/1.233, allocations: 4.419 MB / 1.356 GB, free: 13.29 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001676/1.233, allocations: 212.8 kB / 1.356 GB, free: 13.05 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.865/3.098, allocations: 0 / 1.356 GB, free: 13.05 MB / 0.8855 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss.fmu > Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1)