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.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.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.000884/0.0008841, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.004832/0.004832, allocations: 169.6 kB / 16.26 MB, free: 6.613 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.178/1.178, allocations: 223.3 MB / 240.3 MB, free: 5.348 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.217/2.217, allocations: 437.8 MB / 0.7121 GB, free: 7.004 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0002922/0.0002923, allocations: 8 kB / 0.873 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4938/0.4941, allocations: 153.8 MB / 1.023 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.001362/0.4955, allocations: 1.176 MB / 1.024 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0006768/0.4962, allocations: 494.8 kB / 1.025 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.991e-05/0.4962, allocations: 4 kB / 1.025 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.595e-05/0.4962, allocations: 0 / 1.025 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001799/0.4964, allocations: 19.92 kB / 1.025 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 8.633e-05/0.4965, allocations: 23.91 kB / 1.025 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 6.779e-05/0.4966, allocations: 47.86 kB / 1.025 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 7.013e-05/0.4967, allocations: 7.984 kB / 1.025 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 8.621e-05/0.4968, allocations: 23.92 kB / 1.025 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 6.103e-05/0.4968, allocations: 23.91 kB / 1.025 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.3e-05/0.4969, allocations: 0 / 1.025 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 9.418e-06/0.4969, allocations: 4 kB / 1.025 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.961e-05/0.4969, allocations: 7.922 kB / 1.025 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.235e-05/0.4969, allocations: 45.62 kB / 1.025 GB, free: 14 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 7.208e-05/0.497, allocations: 38.12 kB / 1.025 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.497, allocations: 4 kB / 1.025 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.182e-06/0.497, allocations: 0 / 1.025 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.166e-06/0.497, allocations: 4 kB / 1.025 GB, free: 13.96 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004614/0.4975, allocations: 349.1 kB / 1.025 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.564e-05/0.4975, allocations: 12.03 kB / 1.025 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.308e-05/0.4976, allocations: 34.75 kB / 1.025 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.361e-05/0.4976, allocations: 8.781 kB / 1.025 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001091/0.4977, allocations: 168.3 kB / 1.026 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.126e-05/0.4977, allocations: 4.375 kB / 1.026 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.472e-05/0.4978, allocations: 12.34 kB / 1.026 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000105/0.4979, allocations: 65.77 kB / 1.026 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.912e-06/0.4979, allocations: 0 / 1.026 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.016e-05/0.4979, allocations: 4 kB / 1.026 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/0.4979, allocations: 0 / 1.026 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.161e-05/0.498, allocations: 19.98 kB / 1.026 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003096/0.4983, allocations: 280.8 kB / 1.026 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001876/0.4985, allocations: 70.61 kB / 1.026 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.96e-05/0.4985, allocations: 24.84 kB / 1.026 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.249e-05/0.4986, allocations: 0 / 1.026 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001408/0.4987, allocations: 67.3 kB / 1.026 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=6): time 1.182e-06/0.4987, allocations: 8 kB / 1.026 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6): time 0.0002139/0.4989, allocations: 93.59 kB / 1.026 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.843e-05/0.499, allocations: 51.41 kB / 1.026 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.504e-05/0.499, allocations: 101.9 kB / 1.026 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.45e-05/0.4991, allocations: 33.64 kB / 1.026 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.195e-05/0.4991, allocations: 84.12 kB / 1.026 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.085e-05/0.4991, allocations: 15.81 kB / 1.026 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.835e-05/0.4992, allocations: 13.72 kB / 1.026 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.808e-05/0.4993, allocations: 326.8 kB / 1.027 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.228e-05/0.4993, allocations: 12 kB / 1.027 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.034e-05/0.4993, allocations: 20.05 kB / 1.027 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.395e-05/0.4994, allocations: 36.8 kB / 1.027 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.4994, allocations: 0 / 1.027 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001119/0.4995, allocations: 73.58 kB / 1.027 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.138e-05/0.4996, allocations: 8 kB / 1.027 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.4996, allocations: 0 / 1.027 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.155e-06/0.4996, allocations: 0 / 1.027 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.424e-05/0.4996, allocations: 8 kB / 1.027 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.757e-06/0.4997, allocations: 4 kB / 1.027 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.661e-05/0.4997, allocations: 11.98 kB / 1.027 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.373e-06/0.4997, allocations: 0 / 1.027 GB, free: 11.75 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.47e-05/0.4998, allocations: 117.7 kB / 1.027 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.429e-05/0.4998, allocations: 11.91 kB / 1.027 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001797/0.5, allocations: 101.5 kB / 1.027 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.5, allocations: 7.938 kB / 1.027 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.5, allocations: 4 kB / 1.027 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.5, allocations: 0 / 1.027 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001237/0.5002, allocations: 185.6 kB / 1.027 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.5002, allocations: 0 / 1.027 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.69e-05/0.5002, allocations: 11.98 kB / 1.027 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.5003, allocations: 4 kB / 1.027 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.904e-06/0.5003, allocations: 0 / 1.027 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.5003, allocations: 0 / 1.027 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.5003, allocations: 0 / 1.027 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001475/0.5004, allocations: 121 kB / 1.027 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.926e-05/0.5005, allocations: 85.02 kB / 1.028 GB, free: 11 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.729e-05/0.5005, allocations: 4 kB / 1.028 GB, free: 11 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.443e-05/0.5006, allocations: 8.234 kB / 1.028 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.17e-05/0.5006, allocations: 4.188 kB / 1.028 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.316e-05/0.5006, allocations: 7.984 kB / 1.028 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.68e-05/0.5007, allocations: 95.2 kB / 1.028 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5007, allocations: 0 / 1.028 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001755/0.5008, allocations: 12 kB / 1.028 GB, free: 10.88 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.0003777/0.5012, allocations: 0.6591 MB / 1.028 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001105/0.5014, allocations: 52.19 kB / 1.028 GB, free: 10.13 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.5014, allocations: 7.938 kB / 1.028 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 5.503e-05/0.5014, allocations: 31.92 kB / 1.028 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001425/0.5016, allocations: 12 kB / 1.028 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009645/0.5025, allocations: 1.236 MB / 1.03 GB, free: 8.766 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002001/0.5028, allocations: 0.6809 MB / 1.03 GB, free: 8.059 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.029e-05/0.5028, allocations: 4 kB / 1.03 GB, free: 8.055 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.078e-05/0.5028, allocations: 19.42 kB / 1.03 GB, free: 8.039 MB / 0.7794 GB Notification: Performance of SimCode: time 1.493e-06/0.5029, allocations: 4 kB / 1.03 GB, free: 8.035 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009872/0.5127, allocations: 1.407 MB / 1.032 GB, free: 6.812 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002133/0.513, allocations: 242.6 kB / 1.032 GB, free: 6.547 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.419/1.932, allocations: 0 / 1.032 GB, free: 6.547 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)