Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.416/2.416, allocations: 284.9 MB / 292.4 MB, free: 10.59 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.001484/0.001484, allocations: 180.9 kB / 360.6 MB, free: 7.281 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.995/1.995, allocations: 205.2 MB / 0.6191 GB, free: 12.2 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.001071/0.00107, allocations: 86.64 kB / 0.7321 GB, free: 44.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.474e-05/2.483e-05, allocations: 4 kB / 0.8509 GB, free: 3.309 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8183/0.8183, allocations: 115.3 MB / 0.9634 GB, free: 78.57 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.161/1.979, allocations: 362.7 MB / 1.318 GB, free: 186.1 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003008/1.98, allocations: 90.06 kB / 1.318 GB, free: 186.1 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.04227/2.022, allocations: 10.72 MB / 1.328 GB, free: 183.4 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.543e-06/2.022, allocations: 0 / 1.328 GB, free: 183.4 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.865e-05/2.022, allocations: 3.625 kB / 1.328 GB, free: 183.4 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.001532/2.024, allocations: 0.5784 MB / 1.329 GB, free: 182.9 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.993e-05/2.024, allocations: 9.438 kB / 1.329 GB, free: 182.9 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.969e-05/2.024, allocations: 23.56 kB / 1.329 GB, free: 182.9 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008698/2.025, allocations: 280.8 kB / 1.329 GB, free: 182.6 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.707e-05/2.025, allocations: 7.859 kB / 1.329 GB, free: 182.6 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.498e-05/2.025, allocations: 3.719 kB / 1.329 GB, free: 182.6 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003164/2.025, allocations: 85.3 kB / 1.329 GB, free: 182.6 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002785/2.025, allocations: 115.3 kB / 1.329 GB, free: 182.6 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/2.026, allocations: 0 / 1.329 GB, free: 182.6 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.478e-05/2.026, allocations: 3.938 kB / 1.329 GB, free: 182.6 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/2.026, allocations: 3.875 kB / 1.329 GB, free: 182.6 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001192/2.027, allocations: 460.7 kB / 1.33 GB, free: 182.2 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001876/2.027, allocations: 76.09 kB / 1.33 GB, free: 182.2 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001484/2.027, allocations: 56.41 kB / 1.33 GB, free: 182.2 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008407/2.028, allocations: 0.5161 MB / 1.33 GB, free: 181.6 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.34e-05/2.028, allocations: 34.56 kB / 1.33 GB, free: 181.6 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=11): time 2.294e-06/2.028, allocations: 0 / 1.33 GB, free: 181.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=11): time 0.107/2.135, allocations: 3.729 MB / 1.334 GB, free: 180 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.544e-05/2.135, allocations: 55.52 kB / 1.334 GB, free: 179.9 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002272/2.135, allocations: 196.8 kB / 1.334 GB, free: 179.8 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.416e-05/2.135, allocations: 29.7 kB / 1.334 GB, free: 179.8 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 8.39e-05/2.135, allocations: 141.7 kB / 1.334 GB, free: 179.7 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 5.146e-05/2.136, allocations: 38.8 kB / 1.334 GB, free: 179.7 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.817e-05/2.136, allocations: 0 / 1.334 GB, free: 179.7 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 7.14e-05/2.136, allocations: 330.1 kB / 1.335 GB, free: 179.4 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000136/2.136, allocations: 46.89 kB / 1.335 GB, free: 179.3 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001305/2.136, allocations: 45.42 kB / 1.335 GB, free: 179.3 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1066/2.242, allocations: 3.638 MB / 1.338 GB, free: 177.8 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/2.243, allocations: 0 / 1.338 GB, free: 177.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.1068/2.349, allocations: 3.732 MB / 1.342 GB, free: 176.3 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.607e-05/2.349, allocations: 5.031 kB / 1.342 GB, free: 176.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/2.349, allocations: 0 / 1.342 GB, free: 176.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.181e-05/2.349, allocations: 7.938 kB / 1.342 GB, free: 176.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005451/2.35, allocations: 50.91 kB / 1.342 GB, free: 176.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.07e-05/2.35, allocations: 3.875 kB / 1.342 GB, free: 176.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004111/2.35, allocations: 39.33 kB / 1.342 GB, free: 176.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.762e-05/2.35, allocations: 7.703 kB / 1.342 GB, free: 176.2 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 (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.208e-05/2.351, allocations: 112.6 kB / 1.342 GB, free: 176.1 MB / 0.8542 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.1065/2.457, allocations: 3.742 MB / 1.346 GB, free: 174.5 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.133e-05/2.457, allocations: 25.22 kB / 1.346 GB, free: 174.5 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1072/2.564, allocations: 3.758 MB / 1.35 GB, free: 172.3 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.165e-06/2.564, allocations: 0 / 1.35 GB, free: 172.3 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.606e-06/2.564, allocations: 11.95 kB / 1.35 GB, free: 172.3 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/2.565, allocations: 0 / 1.35 GB, free: 172.3 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000383/2.565, allocations: 254.5 kB / 1.35 GB, free: 172 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/2.565, allocations: 0 / 1.35 GB, free: 172 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005381/2.565, allocations: 54.28 kB / 1.35 GB, free: 172 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.055e-06/2.565, allocations: 8 kB / 1.35 GB, free: 172 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.393e-05/2.566, allocations: 0 / 1.35 GB, free: 172 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.077e-06/2.566, allocations: 0 / 1.35 GB, free: 172 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.489e-06/2.566, allocations: 0 / 1.35 GB, free: 172 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1079/2.673, allocations: 3.828 MB / 1.354 GB, free: 168.2 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001458/2.674, allocations: 116.2 kB / 1.354 GB, free: 168.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.146e-05/2.674, allocations: 0 / 1.354 GB, free: 168.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004809/2.674, allocations: 35.95 kB / 1.354 GB, free: 168.1 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.954e-05/2.674, allocations: 15.67 kB / 1.354 GB, free: 168.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.673e-05/2.674, allocations: 11.92 kB / 1.354 GB, free: 168.1 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001725/2.675, allocations: 156.3 kB / 1.354 GB, free: 167.9 MB / 0.8542 GB Notification: Performance of sort global known variables: time 4.31e-07/2.675, allocations: 0 / 1.354 GB, free: 167.9 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0005135/2.675, allocations: 71.33 kB / 1.354 GB, free: 167.9 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 (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.1077/2.783, allocations: 4.443 MB / 1.358 GB, free: 163.5 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0003821/2.783, allocations: 121.9 kB / 1.358 GB, free: 163.4 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/2.783, allocations: 0 / 1.358 GB, free: 163.4 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001788/2.783, allocations: 65.11 kB / 1.359 GB, free: 163.4 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004325/2.784, allocations: 29.08 kB / 1.359 GB, free: 163.4 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001062/2.785, allocations: 303 kB / 1.359 GB, free: 163.1 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001984/2.785, allocations: 0.7423 MB / 1.36 GB, free: 162.3 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0003142/2.786, allocations: 40.2 kB / 1.36 GB, free: 162.3 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001704/2.786, allocations: 63.2 kB / 1.36 GB, free: 162.2 MB / 0.8542 GB Notification: Performance of SimCode: time 9.91e-07/2.786, allocations: 0 / 1.36 GB, free: 162.2 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03814/2.824, allocations: 4.353 MB / 1.364 GB, free: 158 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002501/2.824, allocations: 171 kB / 1.364 GB, free: 157.8 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.447/5.271, allocations: 1.312 kB / 1.364 GB, free: 157.8 MB / 0.8542 GB (rm -f Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain.fmu > Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1)