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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001358/0.001358, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001717/0.001717, allocations: 196.7 kB / 16.14 MB, free: 6.711 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.285/1.285, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.255/2.255, allocations: 437 MB / 0.7099 GB, free: 5.324 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001115/0.001115, allocations: 67.89 kB / 0.8687 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4526/0.4537, allocations: 151.6 MB / 1.017 GB, free: 2.75 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.002613/0.4563, allocations: 2.076 MB / 1.019 GB, free: 0.6602 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.003454/0.4598, allocations: 3.664 MB / 1.022 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.768e-05/0.4599, allocations: 0 / 1.022 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.000222/0.4602, allocations: 43.75 kB / 1.022 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002412/0.4604, allocations: 99.33 kB / 1.022 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002583/0.4607, allocations: 111.8 kB / 1.023 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002536/0.4609, allocations: 239.1 kB / 1.023 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001/0.4611, allocations: 48.23 kB / 1.023 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001743/0.4612, allocations: 103.5 kB / 1.023 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001209/0.4614, allocations: 107.5 kB / 1.023 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.056e-05/0.4614, allocations: 19.92 kB / 1.023 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001834/0.4616, allocations: 111.8 kB / 1.023 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.85e-05/0.4616, allocations: 39.83 kB / 1.023 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 8.432e-05/0.4617, allocations: 95.41 kB / 1.023 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002685/0.462, allocations: 263.2 kB / 1.024 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.462, allocations: 0 / 1.024 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of FrontEnd: time 6.61e-07/0.462, allocations: 0 / 1.024 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.56e-06/0.462, allocations: 0 / 1.024 GB, free: 11.72 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.0009533/0.463, allocations: 0.5917 MB / 1.024 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.2e-05/0.463, allocations: 8.031 kB / 1.024 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.141e-05/0.4631, allocations: 42.73 kB / 1.024 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.609e-05/0.4631, allocations: 24.66 kB / 1.024 GB, free: 11 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003456/0.4635, allocations: 267.6 kB / 1.024 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.046e-05/0.4635, allocations: 12.38 kB / 1.024 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.053e-05/0.4635, allocations: 8.375 kB / 1.024 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004448/0.464, allocations: 177.4 kB / 1.025 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.831e-06/0.464, allocations: 0 / 1.025 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.577e-05/0.464, allocations: 0 / 1.025 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.464, allocations: 4 kB / 1.025 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005895/0.4646, allocations: 191.8 kB / 1.025 GB, free: 10.31 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007332/0.4654, allocations: 492.3 kB / 1.025 GB, free: 9.781 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003512/0.4657, allocations: 122.5 kB / 1.025 GB, free: 9.652 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003144/0.466, allocations: 109 kB / 1.026 GB, free: 9.543 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007457/0.4668, allocations: 0.5493 MB / 1.026 GB, free: 8.883 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.978e-05/0.4668, allocations: 34.56 kB / 1.026 GB, free: 8.84 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=11): time 1.112e-06/0.4668, allocations: 0 / 1.026 GB, free: 8.84 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11): time 0.001021/0.4678, allocations: 353.2 kB / 1.026 GB, free: 8.488 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.932e-05/0.4679, allocations: 59.34 kB / 1.026 GB, free: 8.418 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001762/0.4681, allocations: 230.7 kB / 1.027 GB, free: 8.18 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.839e-05/0.4681, allocations: 25.7 kB / 1.027 GB, free: 8.148 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.208e-05/0.4682, allocations: 148 kB / 1.027 GB, free: 8 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.65e-05/0.4682, allocations: 39.44 kB / 1.027 GB, free: 7.961 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.701e-05/0.4683, allocations: 25.7 kB / 1.027 GB, free: 7.93 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.305e-05/0.4684, allocations: 334.8 kB / 1.027 GB, free: 7.594 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003022/0.4687, allocations: 99.84 kB / 1.027 GB, free: 7.496 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002903/0.469, allocations: 95.91 kB / 1.027 GB, free: 7.402 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005728/0.4696, allocations: 193.3 kB / 1.028 GB, free: 7.211 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.4696, allocations: 0 / 1.028 GB, free: 7.211 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0006695/0.4702, allocations: 269 kB / 1.028 GB, free: 6.941 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.4703, allocations: 4 kB / 1.028 GB, free: 6.938 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.597e-06/0.4703, allocations: 4 kB / 1.028 GB, free: 6.934 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.198e-06/0.4703, allocations: 0 / 1.028 GB, free: 6.934 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002791/0.4706, allocations: 55.88 kB / 1.028 GB, free: 6.879 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.4706, allocations: 3.938 kB / 1.028 GB, free: 6.875 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001891/0.4708, allocations: 23.97 kB / 1.028 GB, free: 6.852 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.529e-05/0.4708, allocations: 4 kB / 1.028 GB, free: 6.848 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.283e-05/0.4709, allocations: 130.3 kB / 1.028 GB, free: 6.711 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.821e-05/0.4709, allocations: 19.72 kB / 1.028 GB, free: 6.691 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007265/0.4717, allocations: 283.1 kB / 1.028 GB, free: 6.402 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.4717, allocations: 8 kB / 1.028 GB, free: 6.395 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.4717, allocations: 3.938 kB / 1.028 GB, free: 6.391 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.4717, allocations: 0 / 1.028 GB, free: 6.391 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002397/0.4719, allocations: 277.3 kB / 1.029 GB, free: 6.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.093e-06/0.472, allocations: 0 / 1.029 GB, free: 6.07 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002624/0.4722, allocations: 43.94 kB / 1.029 GB, free: 6.027 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.47e-06/0.4722, allocations: 4 kB / 1.029 GB, free: 6.023 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.676e-05/0.4723, allocations: 11.92 kB / 1.029 GB, free: 6.012 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.4723, allocations: 0 / 1.029 GB, free: 6.012 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.471e-06/0.4723, allocations: 7.938 kB / 1.029 GB, free: 6.004 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006831/0.473, allocations: 355.1 kB / 1.029 GB, free: 5.641 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.976e-05/0.473, allocations: 108.9 kB / 1.029 GB, free: 5.516 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.151e-05/0.4731, allocations: 0 / 1.029 GB, free: 5.516 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002266/0.4733, allocations: 23.97 kB / 1.029 GB, free: 5.492 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.025e-05/0.4734, allocations: 19.91 kB / 1.029 GB, free: 5.473 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.336e-05/0.4734, allocations: 7.938 kB / 1.029 GB, free: 5.465 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001178/0.4735, allocations: 170 kB / 1.029 GB, free: 5.301 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4735, allocations: 0 / 1.029 GB, free: 5.301 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002778/0.4738, allocations: 67.84 kB / 1.029 GB, free: 5.234 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.0009925/0.4748, allocations: 0.919 MB / 1.03 GB, free: 4.289 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0006358/0.4755, allocations: 219.7 kB / 1.031 GB, free: 4.074 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.4755, allocations: 0 / 1.031 GB, free: 4.074 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0003193/0.4758, allocations: 111.9 kB / 1.031 GB, free: 3.965 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003447/0.4761, allocations: 42.05 kB / 1.031 GB, free: 3.93 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003178/0.4793, allocations: 2.506 MB / 1.033 GB, free: 1.348 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002218/0.4796, allocations: 0.7355 MB / 1.034 GB, free: 0.5859 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001575/0.4797, allocations: 32.84 kB / 1.034 GB, free: 0.5547 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001094/0.4798, allocations: 71.39 kB / 1.034 GB, free: 496 kB / 0.7794 GB Notification: Performance of SimCode: time 2.5e-07/0.4798, allocations: 0 / 1.034 GB, free: 496 kB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3472/0.8271, allocations: 4.507 MB / 1.038 GB, free: 12.15 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002267/0.8273, allocations: 226.3 kB / 1.039 GB, free: 11.89 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.706/2.533, allocations: 3.625 kB / 1.039 GB, free: 11.89 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)