Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,fileNamePrefix="Buildings_10_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,fileNamePrefix="Buildings_10_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001478/0.001478, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001686/0.001686, allocations: 196.2 kB / 16.26 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.299/1.299, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.208/2.208, allocations: 437 MB / 0.7101 GB, free: 5.238 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001111/0.001112, allocations: 64.14 kB / 0.8689 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4512/0.4524, allocations: 151.6 MB / 1.017 GB, free: 2.832 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.002528/0.4549, allocations: 2.068 MB / 1.019 GB, free: 0.75 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.003193/0.4581, allocations: 3.652 MB / 1.023 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.425e-05/0.4582, allocations: 0 / 1.023 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002056/0.4584, allocations: 51.73 kB / 1.023 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002325/0.4587, allocations: 99.34 kB / 1.023 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002501/0.4589, allocations: 115.8 kB / 1.023 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002435/0.4592, allocations: 251.1 kB / 1.023 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001029/0.4593, allocations: 48.25 kB / 1.023 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001567/0.4595, allocations: 115.5 kB / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001177/0.4596, allocations: 115.5 kB / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.584e-05/0.4596, allocations: 19.94 kB / 1.023 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001705/0.4598, allocations: 115.8 kB / 1.023 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.845e-05/0.4598, allocations: 47.81 kB / 1.023 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 7.775e-05/0.4599, allocations: 95.45 kB / 1.024 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002533/0.4602, allocations: 279.1 kB / 1.024 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.965e-06/0.4602, allocations: 0 / 1.024 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.222e-06/0.4602, allocations: 0 / 1.024 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 9.668e-06/0.4602, allocations: 0 / 1.024 GB, free: 11.75 MB / 0.7794 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.000945/0.4612, allocations: 0.5839 MB / 1.024 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.328e-05/0.4612, allocations: 8.031 kB / 1.024 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.179e-05/0.4612, allocations: 42.75 kB / 1.024 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.452e-05/0.4613, allocations: 24.66 kB / 1.024 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003449/0.4616, allocations: 271.5 kB / 1.025 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.072e-05/0.4617, allocations: 8.375 kB / 1.025 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.087e-05/0.4617, allocations: 8.375 kB / 1.025 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000438/0.4621, allocations: 179.3 kB / 1.025 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.031e-06/0.4622, allocations: 0 / 1.025 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.298e-05/0.4622, allocations: 8 kB / 1.025 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.606e-06/0.4622, allocations: 4 kB / 1.025 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005875/0.4628, allocations: 187.8 kB / 1.025 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007629/0.4636, allocations: 492.4 kB / 1.026 GB, free: 9.816 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003463/0.4639, allocations: 126.5 kB / 1.026 GB, free: 9.684 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003101/0.4642, allocations: 108.8 kB / 1.026 GB, free: 9.574 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007435/0.465, allocations: 0.5415 MB / 1.026 GB, free: 8.922 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.963e-05/0.465, allocations: 42.5 kB / 1.026 GB, free: 8.871 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=11): time 1.233e-06/0.465, allocations: 0 / 1.026 GB, free: 8.871 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11): time 0.001048/0.4661, allocations: 357.3 kB / 1.027 GB, free: 8.516 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.86e-05/0.4661, allocations: 55.34 kB / 1.027 GB, free: 8.449 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001785/0.4663, allocations: 230.7 kB / 1.027 GB, free: 8.211 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.138e-05/0.4663, allocations: 29.7 kB / 1.027 GB, free: 8.176 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.042e-05/0.4664, allocations: 140 kB / 1.027 GB, free: 8.035 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.873e-05/0.4664, allocations: 39.45 kB / 1.027 GB, free: 7.996 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.873e-05/0.4665, allocations: 25.7 kB / 1.027 GB, free: 7.965 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.582e-05/0.4666, allocations: 334.8 kB / 1.028 GB, free: 7.629 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003084/0.4669, allocations: 95.91 kB / 1.028 GB, free: 7.535 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000303/0.4672, allocations: 95.91 kB / 1.028 GB, free: 7.441 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000582/0.4678, allocations: 204.6 kB / 1.028 GB, free: 7.238 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.4678, allocations: 0 / 1.028 GB, free: 7.238 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0006553/0.4685, allocations: 253.2 kB / 1.028 GB, free: 6.984 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.13e-05/0.4685, allocations: 4 kB / 1.028 GB, free: 6.98 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.566e-06/0.4685, allocations: 0 / 1.028 GB, free: 6.98 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.102e-05/0.4685, allocations: 0 / 1.028 GB, free: 6.98 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002753/0.4688, allocations: 51.88 kB / 1.028 GB, free: 6.93 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/0.4688, allocations: 7.938 kB / 1.028 GB, free: 6.922 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001927/0.469, allocations: 31.89 kB / 1.028 GB, free: 6.891 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.535e-05/0.469, allocations: 7.938 kB / 1.028 GB, free: 6.883 MB / 0.7794 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.625e-05/0.4691, allocations: 122.4 kB / 1.028 GB, free: 6.754 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.54e-05/0.4692, allocations: 31.7 kB / 1.028 GB, free: 6.723 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007396/0.4699, allocations: 279.9 kB / 1.029 GB, free: 6.438 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.47, allocations: 0 / 1.029 GB, free: 6.438 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.47, allocations: 3.938 kB / 1.029 GB, free: 6.434 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.47, allocations: 3.984 kB / 1.029 GB, free: 6.43 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002373/0.4702, allocations: 277.4 kB / 1.029 GB, free: 6.109 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.4702, allocations: 0 / 1.029 GB, free: 6.109 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002652/0.4705, allocations: 55.88 kB / 1.029 GB, free: 6.055 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.4705, allocations: 0 / 1.029 GB, free: 6.055 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.56e-05/0.4705, allocations: 0 / 1.029 GB, free: 6.055 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.4705, allocations: 4 kB / 1.029 GB, free: 6.051 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.4705, allocations: 11.88 kB / 1.029 GB, free: 6.039 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007223/0.4713, allocations: 355.1 kB / 1.029 GB, free: 5.676 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.776e-05/0.4714, allocations: 108.9 kB / 1.029 GB, free: 5.551 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.341e-05/0.4714, allocations: 3.984 kB / 1.029 GB, free: 5.547 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002382/0.4716, allocations: 23.97 kB / 1.029 GB, free: 5.523 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.974e-05/0.4717, allocations: 15.92 kB / 1.029 GB, free: 5.508 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.483e-05/0.4717, allocations: 11.92 kB / 1.029 GB, free: 5.496 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001162/0.4718, allocations: 174 kB / 1.03 GB, free: 5.328 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4718, allocations: 0 / 1.03 GB, free: 5.328 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002777/0.4721, allocations: 63.83 kB / 1.03 GB, free: 5.266 MB / 0.7794 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009986/0.4731, allocations: 0.9113 MB / 1.031 GB, free: 4.328 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0006752/0.4738, allocations: 235.7 kB / 1.031 GB, free: 4.098 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.4738, allocations: 0 / 1.031 GB, free: 4.098 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0003256/0.4742, allocations: 115.8 kB / 1.031 GB, free: 3.984 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003586/0.4745, allocations: 36.47 kB / 1.031 GB, free: 3.949 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003276/0.4778, allocations: 2.505 MB / 1.033 GB, free: 1.367 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002415/0.4781, allocations: 0.7353 MB / 1.034 GB, free: 0.6055 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001694/0.4782, allocations: 32.8 kB / 1.034 GB, free: 0.5742 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001142/0.4784, allocations: 67.41 kB / 1.034 GB, free: 0.5078 MB / 0.7794 GB Notification: Performance of SimCode: time 2.5e-07/0.4784, allocations: 4 kB / 1.034 GB, free: 0.5039 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02219/0.5006, allocations: 4.63 MB / 1.039 GB, free: 12.07 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001588/0.5007, allocations: 222.5 kB / 1.039 GB, free: 11.81 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.791/2.292, allocations: 7.938 kB / 1.039 GB, free: 11.8 MB / 0.795 GB (rm -f Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; mkfifo Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe >> ../files/Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain.fmu > Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1)