Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.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.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime",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.00117/0.00117, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001138/0.001138, allocations: 192.8 kB / 16.25 MB, free: 6.641 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.179/1.179, allocations: 222.9 MB / 239.9 MB, free: 4.531 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.221/2.221, allocations: 437 MB / 0.7101 GB, free: 5.262 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001146/0.001146, allocations: 71.88 kB / 0.8689 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4637/0.4648, allocations: 151.6 MB / 1.017 GB, free: 2.695 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.002256/0.4671, allocations: 1.523 MB / 1.018 GB, free: 1.164 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0006972/0.4678, allocations: 0.491 MB / 1.019 GB, free: 0.668 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.007e-05/0.4679, allocations: 0 / 1.019 GB, free: 0.668 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.923e-05/0.4679, allocations: 3.984 kB / 1.019 GB, free: 0.6641 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001821/0.4681, allocations: 23.92 kB / 1.019 GB, free: 0.6406 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 8.654e-05/0.4682, allocations: 19.98 kB / 1.019 GB, free: 0.6211 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 7.35e-05/0.4683, allocations: 55.77 kB / 1.019 GB, free: 0.5664 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 7.14e-05/0.4684, allocations: 4 kB / 1.019 GB, free: 0.5625 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 7.834e-05/0.4685, allocations: 27.92 kB / 1.019 GB, free: 0.5352 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.971e-05/0.4685, allocations: 27.89 kB / 1.019 GB, free: 0.5078 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.504e-05/0.4685, allocations: 4 kB / 1.019 GB, free: 0.5039 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.094e-05/0.4686, allocations: 4 kB / 1.019 GB, free: 0.5 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.91e-05/0.4686, allocations: 7.938 kB / 1.019 GB, free: 0.4922 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.463e-05/0.4686, allocations: 19.92 kB / 1.019 GB, free: 484 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 7.748e-05/0.4687, allocations: 54.11 kB / 1.019 GB, free: 432 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.4687, allocations: 0 / 1.019 GB, free: 432 kB / 0.7637 GB Notification: Performance of FrontEnd: time 1.132e-06/0.4687, allocations: 4 kB / 1.019 GB, free: 428 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.077e-06/0.4687, allocations: 0 / 1.019 GB, free: 428 kB / 0.7637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004748/0.4692, allocations: 343.4 kB / 1.019 GB, free: 36 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.221e-05/0.4692, allocations: 12.03 kB / 1.019 GB, free: 24 kB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.92e-05/0.4693, allocations: 34.73 kB / 1.019 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.839e-05/0.4693, allocations: 12.84 kB / 1.02 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.96e-05/0.4694, allocations: 164.4 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.437e-05/0.4695, allocations: 4.375 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.371e-05/0.4695, allocations: 4.312 kB / 1.02 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001068/0.4696, allocations: 61.78 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.801e-06/0.4696, allocations: 3.938 kB / 1.02 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.566e-06/0.4696, allocations: 0 / 1.02 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.4696, allocations: 4 kB / 1.02 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.464e-05/0.4697, allocations: 23.98 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002986/0.47, allocations: 284.7 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001882/0.4702, allocations: 70.61 kB / 1.02 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.073e-05/0.4702, allocations: 16.86 kB / 1.02 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.31e-05/0.4703, allocations: 0 / 1.02 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000146/0.4704, allocations: 79.38 kB / 1.02 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=6): time 1.193e-06/0.4704, allocations: 3.938 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6): time 0.0002001/0.4706, allocations: 89.61 kB / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.552e-05/0.4707, allocations: 59.39 kB / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.493e-05/0.4707, allocations: 97.86 kB / 1.02 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.321e-05/0.4707, allocations: 25.7 kB / 1.02 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.266e-05/0.4708, allocations: 88.14 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.537e-05/0.4708, allocations: 15.7 kB / 1.021 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.792e-05/0.4709, allocations: 25.72 kB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.31e-05/0.4709, allocations: 322.8 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.266e-05/0.471, allocations: 12 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.83e-05/0.471, allocations: 15.98 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.05e-05/0.4711, allocations: 32.86 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.4711, allocations: 0 / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000116/0.4712, allocations: 81.67 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.226e-05/0.4712, allocations: 8 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.4712, allocations: 0 / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.4713, allocations: 4 kB / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.054e-05/0.4713, allocations: 12.17 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.138e-06/0.4713, allocations: 0 / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.438e-05/0.4714, allocations: 4 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.915e-06/0.4714, allocations: 0 / 1.021 GB, free: 14.21 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: 3 (eqnTim.tNext,$PRE.eqnTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 7.005e-05/0.4715, allocations: 117.8 kB / 1.021 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.381e-05/0.4715, allocations: 7.891 kB / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001763/0.4717, allocations: 105.5 kB / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.4717, allocations: 4 kB / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-06/0.4717, allocations: 4 kB / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.4717, allocations: 4.078 kB / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001159/0.4718, allocations: 185.5 kB / 1.021 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.4719, allocations: 0 / 1.021 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.669e-05/0.4719, allocations: 11.98 kB / 1.021 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.4719, allocations: 0 / 1.021 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.263e-05/0.4719, allocations: 8 kB / 1.021 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.4719, allocations: 0 / 1.021 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.472, allocations: 0 / 1.021 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001515/0.4721, allocations: 124.9 kB / 1.022 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.143e-05/0.4721, allocations: 81.11 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.839e-05/0.4722, allocations: 7.922 kB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.49e-05/0.4722, allocations: 4.25 kB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.148e-05/0.4723, allocations: 7.984 kB / 1.022 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.27e-05/0.4723, allocations: 8 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.379e-05/0.4723, allocations: 79.28 kB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4723, allocations: 0 / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000179/0.4725, allocations: 20 kB / 1.022 GB, free: 13.34 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: 2 ($whenCondition1,eqnTim.tNext) * Number of discrete states: 1 (eqnTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0003667/0.4729, allocations: 0.663 MB / 1.022 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001238/0.473, allocations: 47.92 kB / 1.022 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.473, allocations: 0 / 1.022 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 5.836e-05/0.4731, allocations: 36.11 kB / 1.023 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001323/0.4732, allocations: 10.98 kB / 1.023 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009316/0.4742, allocations: 1.247 MB / 1.024 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001801/0.4744, allocations: 0.6807 MB / 1.024 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.454e-05/0.4744, allocations: 7.984 kB / 1.024 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.123e-05/0.4745, allocations: 23.44 kB / 1.024 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of SimCode: time 3.01e-07/0.4745, allocations: 0 / 1.024 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01017/0.4847, allocations: 1.526 MB / 1.026 GB, free: 9.137 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002161/0.4849, allocations: 242.2 kB / 1.026 GB, free: 8.875 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.408/1.893, allocations: 6.391 kB / 1.026 GB, free: 8.871 MB / 0.7794 GB (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime_res.mat --tempDir=temp_Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime.fmu > Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe 2>&1)