Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.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.EN12975SolarGain,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain",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.944/1.944, allocations: 288.2 MB / 303.2 MB, free: 8.25 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.0009926/0.0009926, allocations: 185 kB / 371.8 MB, free: 10.25 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.664/1.664, allocations: 205.4 MB / 0.6305 GB, free: 9.949 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.0008293/0.0008293, allocations: 94.86 kB / 0.7439 GB, free: 5.883 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004077/0.0004079, allocations: 11.75 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1981/0.1985, allocations: 115.3 MB / 0.9795 GB, free: 27.56 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8595/1.058, allocations: 363.6 MB / 1.335 GB, free: 392 kB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003331/1.058, allocations: 92.19 kB / 1.335 GB, free: 336 kB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.03124/1.09, allocations: 10.84 MB / 1.345 GB, free: 7.387 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.954e-06/1.09, allocations: 0 / 1.345 GB, free: 7.387 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 2.154e-05/1.09, allocations: 4 kB / 1.345 GB, free: 7.383 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.001295/1.091, allocations: 0.6174 MB / 1.346 GB, free: 6.73 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 8.004e-05/1.091, allocations: 8.031 kB / 1.346 GB, free: 6.723 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.254e-05/1.091, allocations: 42.62 kB / 1.346 GB, free: 6.676 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.762e-05/1.091, allocations: 27.67 kB / 1.346 GB, free: 6.648 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006809/1.092, allocations: 275.7 kB / 1.346 GB, free: 6.355 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.443e-05/1.092, allocations: 4 kB / 1.346 GB, free: 6.352 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.575e-05/1.092, allocations: 7.812 kB / 1.346 GB, free: 6.348 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005208/1.093, allocations: 195 kB / 1.346 GB, free: 6.18 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/1.093, allocations: 3.938 kB / 1.346 GB, free: 6.176 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.85e-05/1.093, allocations: 0 / 1.346 GB, free: 6.176 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.438e-06/1.093, allocations: 4 kB / 1.346 GB, free: 6.172 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000677/1.093, allocations: 238.6 kB / 1.347 GB, free: 5.973 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009667/1.094, allocations: 493.9 kB / 1.347 GB, free: 5.508 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003988/1.095, allocations: 150.1 kB / 1.347 GB, free: 5.375 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000743/1.096, allocations: 0.51 MB / 1.348 GB, free: 4.758 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.235e-05/1.096, allocations: 42.3 kB / 1.348 GB, free: 4.711 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=11): time 1.593e-06/1.096, allocations: 0 / 1.348 GB, free: 4.711 MB / 0.8698 GB Notification: Performance of matching and sorting (n=11): time 0.001222/1.097, allocations: 420.3 kB / 1.348 GB, free: 4.348 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.865e-05/1.097, allocations: 55.34 kB / 1.348 GB, free: 4.281 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002097/1.097, allocations: 207.5 kB / 1.348 GB, free: 4.102 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.484e-05/1.097, allocations: 25.7 kB / 1.348 GB, free: 4.07 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 8.861e-05/1.097, allocations: 140.7 kB / 1.349 GB, free: 3.965 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 4.773e-05/1.097, allocations: 37.95 kB / 1.349 GB, free: 3.934 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.27e-05/1.097, allocations: 7.938 kB / 1.349 GB, free: 3.926 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001197/1.097, allocations: 333.2 kB / 1.349 GB, free: 3.602 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003449/1.098, allocations: 112.2 kB / 1.349 GB, free: 3.508 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003281/1.098, allocations: 119 kB / 1.349 GB, free: 3.41 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003359/1.098, allocations: 120.3 kB / 1.349 GB, free: 3.312 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/1.098, allocations: 0 / 1.349 GB, free: 3.312 MB / 0.8698 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0008432/1.099, allocations: 299.9 kB / 1.35 GB, free: 3.051 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.19e-05/1.099, allocations: 9.812 kB / 1.35 GB, free: 3.043 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/1.099, allocations: 0 / 1.35 GB, free: 3.043 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.24e-05/1.099, allocations: 7.953 kB / 1.35 GB, free: 3.035 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003416/1.1, allocations: 55.89 kB / 1.35 GB, free: 2.98 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.835e-06/1.1, allocations: 0 / 1.35 GB, free: 2.98 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002537/1.1, allocations: 47.64 kB / 1.35 GB, free: 2.938 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.884e-05/1.1, allocations: 0 / 1.35 GB, free: 2.938 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 (11): * Single equations (assignments): 11 * 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.0001428/1.1, allocations: 130.9 kB / 1.35 GB, free: 2.809 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.323e-05/1.1, allocations: 23.72 kB / 1.35 GB, free: 2.785 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008722/1.101, allocations: 322.4 kB / 1.35 GB, free: 2.52 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/1.101, allocations: 4 kB / 1.35 GB, free: 2.516 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/1.101, allocations: 7.953 kB / 1.35 GB, free: 2.508 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/1.101, allocations: 0 / 1.35 GB, free: 2.508 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003098/1.101, allocations: 277.6 kB / 1.35 GB, free: 2.227 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/1.101, allocations: 0 / 1.35 GB, free: 2.227 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000314/1.102, allocations: 55.94 kB / 1.35 GB, free: 2.172 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/1.102, allocations: 0 / 1.35 GB, free: 2.172 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.113e-05/1.102, allocations: 11.17 kB / 1.35 GB, free: 2.164 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.048e-06/1.102, allocations: 4 kB / 1.35 GB, free: 2.16 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/1.102, allocations: 0 / 1.35 GB, free: 2.16 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008282/1.103, allocations: 399.9 kB / 1.351 GB, free: 1.793 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001336/1.103, allocations: 115.5 kB / 1.351 GB, free: 1.668 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.56e-05/1.103, allocations: 3.812 kB / 1.351 GB, free: 1.668 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002953/1.103, allocations: 35.97 kB / 1.351 GB, free: 1.633 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.376e-05/1.103, allocations: 15.09 kB / 1.351 GB, free: 1.621 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.762e-05/1.103, allocations: 4 kB / 1.351 GB, free: 1.617 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0001544/1.103, allocations: 173.6 kB / 1.351 GB, free: 1.469 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.3e-07/1.103, allocations: 3.938 kB / 1.351 GB, free: 1.465 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.000392/1.104, allocations: 70.5 kB / 1.351 GB, free: 1.402 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 (11): * Single equations (assignments): 11 * 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.001423/1.105, allocations: 1.01 MB / 1.352 GB, free: 424 kB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0007822/1.106, allocations: 256.4 kB / 1.352 GB, free: 208 kB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.586e-06/1.106, allocations: 4 kB / 1.352 GB, free: 204 kB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003719/1.106, allocations: 140.8 kB / 1.353 GB, free: 84 kB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003068/1.107, allocations: 24.17 kB / 1.353 GB, free: 68 kB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002814/1.11, allocations: 1.48 MB / 1.354 GB, free: 14.71 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000296/1.11, allocations: 0.7426 MB / 1.355 GB, free: 13.95 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0001956/1.11, allocations: 32.84 kB / 1.355 GB, free: 13.91 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000122/1.11, allocations: 64.47 kB / 1.355 GB, free: 13.89 MB / 0.8855 GB Notification: Performance of SimCode: time 7.22e-07/1.11, allocations: 0 / 1.355 GB, free: 13.89 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01956/1.13, allocations: 5.251 MB / 1.36 GB, free: 8.844 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001806/1.13, allocations: 214.8 kB / 1.36 GB, free: 8.598 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.833/2.963, allocations: 0 / 1.36 GB, free: 8.598 MB / 0.8855 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain.fmu > Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1)