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.001223/0.001223, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001127/0.001127, allocations: 195.3 kB / 16.53 MB, free: 6.664 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 / 240.2 MB, free: 4.414 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.23/2.23, allocations: 437.1 MB / 0.7104 GB, free: 5.117 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001157/0.001157, allocations: 63.89 kB / 0.8694 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4963/0.4975, allocations: 151.6 MB / 1.017 GB, free: 2.535 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.002182/0.4997, allocations: 1.446 MB / 1.019 GB, free: 1.078 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0006509/0.5004, allocations: 0.5065 MB / 1.019 GB, free: 0.5664 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.063e-05/0.5004, allocations: 0 / 1.019 GB, free: 0.5664 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.199e-05/0.5004, allocations: 3.984 kB / 1.019 GB, free: 0.5625 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001643/0.5006, allocations: 15.86 kB / 1.019 GB, free: 0.5469 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 9.132e-05/0.5007, allocations: 35.91 kB / 1.019 GB, free: 0.5117 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 7.011e-05/0.5008, allocations: 55.78 kB / 1.019 GB, free: 468 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 6.849e-05/0.5009, allocations: 7.984 kB / 1.019 GB, free: 460 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 6.978e-05/0.5009, allocations: 19.98 kB / 1.019 GB, free: 440 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.944e-05/0.501, allocations: 27.91 kB / 1.019 GB, free: 412 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.51e-05/0.501, allocations: 4 kB / 1.019 GB, free: 408 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.211e-05/0.501, allocations: 4 kB / 1.019 GB, free: 404 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.265e-05/0.5011, allocations: 15.86 kB / 1.02 GB, free: 388 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.451e-05/0.5011, allocations: 15.92 kB / 1.02 GB, free: 372 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 6.851e-05/0.5012, allocations: 46.12 kB / 1.02 GB, free: 328 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 2.826e-06/0.5012, allocations: 0 / 1.02 GB, free: 328 kB / 0.7637 GB Notification: Performance of FrontEnd: time 1.062e-06/0.5012, allocations: 0 / 1.02 GB, free: 328 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 6.563e-06/0.5012, allocations: 0 / 1.02 GB, free: 328 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.0004487/0.5017, allocations: 359.3 kB / 1.02 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 2.934e-05/0.5017, allocations: 12.03 kB / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.55e-05/0.5017, allocations: 30.75 kB / 1.02 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.26e-05/0.5018, allocations: 8.844 kB / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.407e-05/0.5019, allocations: 168.4 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.236e-05/0.5019, allocations: 4.375 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.127e-05/0.5019, allocations: 8.359 kB / 1.02 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.898e-05/0.502, allocations: 57.8 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.391e-06/0.502, allocations: 3.938 kB / 1.02 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.196e-06/0.502, allocations: 0 / 1.02 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.576e-06/0.502, allocations: 0 / 1.02 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.927e-05/0.5021, allocations: 23.98 kB / 1.02 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002808/0.5024, allocations: 292.7 kB / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001811/0.5026, allocations: 62.61 kB / 1.021 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.934e-05/0.5026, allocations: 24.86 kB / 1.021 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.044e-05/0.5026, allocations: 0 / 1.021 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001243/0.5028, allocations: 71.38 kB / 1.021 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=6): time 1.132e-06/0.5028, allocations: 4 kB / 1.021 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6): time 0.0001937/0.503, allocations: 85.67 kB / 1.021 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.789e-05/0.503, allocations: 55.34 kB / 1.021 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.894e-05/0.5031, allocations: 109.8 kB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.179e-05/0.5031, allocations: 25.7 kB / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 2.763e-05/0.5031, allocations: 80.14 kB / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.099e-05/0.5032, allocations: 19.72 kB / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.516e-05/0.5032, allocations: 25.7 kB / 1.021 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 7.859e-05/0.5033, allocations: 322.8 kB / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.48e-05/0.5033, allocations: 15.98 kB / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.854e-05/0.5033, allocations: 15.98 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.105e-05/0.5034, allocations: 32.86 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.51e-07/0.5034, allocations: 0 / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001052/0.5035, allocations: 69.88 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.174e-05/0.5035, allocations: 7.984 kB / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.5036, allocations: 4 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.566e-06/0.5036, allocations: 4 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.078e-05/0.5036, allocations: 12 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.717e-06/0.5037, allocations: 0 / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.597e-05/0.5037, allocations: 11.98 kB / 1.022 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.592e-06/0.5037, allocations: 0 / 1.022 GB, free: 14.1 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 6.301e-05/0.5038, allocations: 113.8 kB / 1.022 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.378e-05/0.5038, allocations: 3.906 kB / 1.022 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001704/0.504, allocations: 113.4 kB / 1.022 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.504, allocations: 4 kB / 1.022 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.504, allocations: 0 / 1.022 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.504, allocations: 0 / 1.022 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001113/0.5041, allocations: 189.6 kB / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.5041, allocations: 0 / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.777e-05/0.5042, allocations: 8 kB / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.5042, allocations: 3.938 kB / 1.022 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.438e-06/0.5042, allocations: 3.984 kB / 1.022 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.5042, allocations: 4.234 kB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.5042, allocations: 0 / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001429/0.5044, allocations: 124.9 kB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.296e-05/0.5044, allocations: 77.11 kB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.837e-05/0.5044, allocations: 8 kB / 1.022 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.49e-05/0.5045, allocations: 3.984 kB / 1.022 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.913e-05/0.5046, allocations: 4.188 kB / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.939e-06/0.5046, allocations: 7.938 kB / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.682e-05/0.5046, allocations: 91.25 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5046, allocations: 4 kB / 1.022 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001803/0.5048, allocations: 12 kB / 1.022 GB, free: 13.23 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.0003579/0.5052, allocations: 0.6555 MB / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001247/0.5053, allocations: 63.83 kB / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.5053, allocations: 4 kB / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 5.429e-05/0.5054, allocations: 35.92 kB / 1.023 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001282/0.5055, allocations: 5.125 kB / 1.023 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000907/0.5064, allocations: 1.217 MB / 1.024 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001813/0.5066, allocations: 0.6862 MB / 1.025 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.055e-05/0.5066, allocations: 11.98 kB / 1.025 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.584e-05/0.5067, allocations: 11.44 kB / 1.025 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of SimCode: time 2.4e-07/0.5067, allocations: 4 kB / 1.025 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01574/0.5224, allocations: 1.625 MB / 1.026 GB, free: 8.91 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.963/7.486, allocations: 15.75 kB / 1.026 GB, free: 8.895 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)