Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.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.EN12975SolarGain,fileNamePrefix="Buildings_8_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.789/1.789, allocations: 289.7 MB / 302.2 MB, free: 2.172 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.00123/0.001231, allocations: 182.7 kB / 371.6 MB, free: 3.449 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.924/1.924, allocations: 205.2 MB / 0.6309 GB, free: 11.76 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.0009628/0.0009628, allocations: 92 kB / 0.745 GB, free: 54.56 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 6.489e-05/6.499e-05, allocations: 7.984 kB / 0.8663 GB, free: 14.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3123/0.3124, allocations: 116.3 MB / 0.9799 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.148/1.461, allocations: 364.5 MB / 1.336 GB, free: 15.68 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002962/1.461, allocations: 86.62 kB / 1.336 GB, free: 15.64 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 0.02904/1.49, allocations: 10.79 MB / 1.346 GB, free: 6.867 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.643e-06/1.49, allocations: 0 / 1.346 GB, free: 6.867 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 1.297e-05/1.49, allocations: 4 kB / 1.346 GB, free: 6.863 MB / 0.9167 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.001077/1.491, allocations: 0.5688 MB / 1.347 GB, free: 6.266 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.141e-05/1.491, allocations: 16.22 kB / 1.347 GB, free: 6.25 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.943e-05/1.491, allocations: 39.62 kB / 1.347 GB, free: 6.207 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.684e-05/1.491, allocations: 30.97 kB / 1.347 GB, free: 6.18 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006236/1.492, allocations: 269.4 kB / 1.347 GB, free: 5.891 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.452e-05/1.492, allocations: 7.125 kB / 1.347 GB, free: 5.887 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.765e-05/1.492, allocations: 7.375 kB / 1.347 GB, free: 5.883 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002639/1.492, allocations: 125.6 kB / 1.348 GB, free: 5.781 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/1.492, allocations: 3.938 kB / 1.348 GB, free: 5.777 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.893e-05/1.492, allocations: 0 / 1.348 GB, free: 5.777 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.254e-06/1.492, allocations: 4 kB / 1.348 GB, free: 5.773 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002173/1.493, allocations: 95.41 kB / 1.348 GB, free: 5.715 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009591/1.494, allocations: 496 kB / 1.348 GB, free: 5.25 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001576/1.494, allocations: 74.94 kB / 1.348 GB, free: 5.191 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001139/1.494, allocations: 67.39 kB / 1.348 GB, free: 5.145 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007134/1.495, allocations: 0.5083 MB / 1.349 GB, free: 4.531 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.616e-05/1.495, allocations: 34.69 kB / 1.349 GB, free: 4.488 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=11): time 1.383e-06/1.495, allocations: 0 / 1.349 GB, free: 4.488 MB / 0.9167 GB Notification: Performance of matching and sorting (n=11): time 0.000391/1.495, allocations: 163.8 kB / 1.349 GB, free: 4.359 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.844e-05/1.495, allocations: 59.41 kB / 1.349 GB, free: 4.289 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002081/1.495, allocations: 199.2 kB / 1.349 GB, free: 4.113 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 3.189e-05/1.495, allocations: 32.83 kB / 1.349 GB, free: 4.078 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.000117/1.496, allocations: 138.6 kB / 1.349 GB, free: 3.973 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 4.962e-05/1.496, allocations: 38.02 kB / 1.349 GB, free: 3.941 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.13e-05/1.496, allocations: 1.406 kB / 1.349 GB, free: 3.941 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001526/1.496, allocations: 334 kB / 1.35 GB, free: 3.617 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.715e-05/1.496, allocations: 43.17 kB / 1.35 GB, free: 3.59 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000101/1.496, allocations: 46.3 kB / 1.35 GB, free: 3.562 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001048/1.496, allocations: 56.92 kB / 1.35 GB, free: 3.527 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/1.496, allocations: 0 / 1.35 GB, free: 3.527 MB / 0.9167 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002799/1.496, allocations: 154.2 kB / 1.35 GB, free: 3.406 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/1.496, allocations: 8 kB / 1.35 GB, free: 3.398 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/1.496, allocations: 0 / 1.35 GB, free: 3.398 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/1.496, allocations: 3.953 kB / 1.35 GB, free: 3.395 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003573/1.497, allocations: 63.88 kB / 1.35 GB, free: 3.332 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/1.497, allocations: 0 / 1.35 GB, free: 3.332 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000224/1.497, allocations: 39.77 kB / 1.35 GB, free: 3.297 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.826e-05/1.497, allocations: 4 kB / 1.35 GB, free: 3.293 MB / 0.9167 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 (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 9.258e-05/1.497, allocations: 116.4 kB / 1.35 GB, free: 3.18 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.058e-05/1.497, allocations: 28.83 kB / 1.35 GB, free: 3.152 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004019/1.498, allocations: 186.6 kB / 1.35 GB, free: 3.016 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.042e-06/1.498, allocations: 7.953 kB / 1.35 GB, free: 3.008 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/1.498, allocations: 0 / 1.35 GB, free: 3.008 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/1.498, allocations: 0 / 1.35 GB, free: 3.008 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003256/1.498, allocations: 275.8 kB / 1.351 GB, free: 2.727 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/1.498, allocations: 0 / 1.351 GB, free: 2.727 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003006/1.498, allocations: 64.19 kB / 1.351 GB, free: 2.668 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/1.498, allocations: 0 / 1.351 GB, free: 2.668 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.737e-05/1.498, allocations: 0 / 1.351 GB, free: 2.668 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/1.498, allocations: 0 / 1.351 GB, free: 2.668 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/1.498, allocations: 3.953 kB / 1.351 GB, free: 2.664 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003472/1.499, allocations: 268.8 kB / 1.351 GB, free: 2.426 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001106/1.499, allocations: 106.8 kB / 1.351 GB, free: 2.309 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.348e-05/1.499, allocations: 4 kB / 1.351 GB, free: 2.305 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002574/1.499, allocations: 42.83 kB / 1.351 GB, free: 2.266 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.528e-05/1.499, allocations: 10.61 kB / 1.351 GB, free: 2.258 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.952e-05/1.499, allocations: 11.94 kB / 1.351 GB, free: 2.246 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0001487/1.499, allocations: 163.9 kB / 1.351 GB, free: 2.113 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.41e-07/1.499, allocations: 0 / 1.351 GB, free: 2.113 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0003375/1.5, allocations: 79.33 kB / 1.351 GB, free: 2.043 MB / 0.9167 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 (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.0009248/1.501, allocations: 0.8711 MB / 1.352 GB, free: 1.191 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.00027/1.501, allocations: 114.6 kB / 1.352 GB, free: 1.117 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/1.501, allocations: 0 / 1.352 GB, free: 1.117 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001221/1.501, allocations: 65.41 kB / 1.352 GB, free: 1.074 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002839/1.501, allocations: 32.86 kB / 1.352 GB, free: 1.055 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000818/1.502, allocations: 322.9 kB / 1.353 GB, free: 0.7422 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003922/1.503, allocations: 0.7511 MB / 1.353 GB, free: 15.96 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0001816/1.503, allocations: 35.42 kB / 1.353 GB, free: 15.93 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001202/1.503, allocations: 64.47 kB / 1.354 GB, free: 15.91 MB / 0.9323 GB Notification: Performance of SimCode: time 3.2e-07/1.503, allocations: 5.438 kB / 1.354 GB, free: 15.91 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01846/1.521, allocations: 5.443 MB / 1.359 GB, free: 10.66 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001866/1.522, allocations: 170.8 kB / 1.359 GB, free: 10.43 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.95/3.472, allocations: 0 / 1.359 GB, free: 10.43 MB / 0.9323 GB (rm -f Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; mkfifo Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe >> ../files/Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain.fmu > Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1)