Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime,fileNamePrefix="IDEAS_IDEAS_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.0008325/0.0008326, allocations: 86.64 kB / 15.06 MB, free: 1.09 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.0008816/0.0008818, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.314/1.314, allocations: 223.3 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.751/0.751, allocations: 132.3 MB / 423.4 MB, free: 2.098 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003086/0.0003089, allocations: 8 kB / 0.5035 GB, free: 4.152 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3995/0.3999, allocations: 81.58 MB / 0.5832 GB, free: 3.992 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.001025/0.4009, allocations: 421.9 kB / 0.5836 GB, free: 3.719 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001302/0.4022, allocations: 1.069 MB / 0.5846 GB, free: 2.922 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.128e-05/0.4023, allocations: 4 kB / 0.5846 GB, free: 2.918 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.418e-05/0.4023, allocations: 0.7969 kB / 0.5846 GB, free: 2.918 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 3.207e-05/0.4023, allocations: 1.219 kB / 0.5846 GB, free: 2.918 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00018/0.4025, allocations: 9.969 kB / 0.5846 GB, free: 2.914 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 6.924e-05/0.4026, allocations: 15.05 kB / 0.5846 GB, free: 2.906 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.288e-05/0.4027, allocations: 7.703 kB / 0.5846 GB, free: 2.902 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.723e-05/0.4028, allocations: 6.844 kB / 0.5847 GB, free: 2.902 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.013e-05/0.4029, allocations: 4.781 kB / 0.5847 GB, free: 2.902 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.358e-05/0.4029, allocations: 1.469 kB / 0.5847 GB, free: 2.902 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.155e-06/0.4029, allocations: 4 kB / 0.5847 GB, free: 2.898 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.425e-05/0.4029, allocations: 10.48 kB / 0.5847 GB, free: 2.891 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.522e-05/0.4029, allocations: 25.7 kB / 0.5847 GB, free: 2.859 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 5.781e-05/0.403, allocations: 16.92 kB / 0.5847 GB, free: 2.852 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.403, allocations: 0.5625 kB / 0.5847 GB, free: 2.852 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.403, allocations: 0 / 0.5847 GB, free: 2.852 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.657e-06/0.403, allocations: 0 / 0.5847 GB, free: 2.852 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003463/0.4034, allocations: 322.9 kB / 0.585 GB, free: 2.504 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.428e-05/0.4035, allocations: 13.56 kB / 0.585 GB, free: 2.5 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.173e-05/0.4035, allocations: 32.06 kB / 0.5851 GB, free: 2.461 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.675e-05/0.4035, allocations: 8.828 kB / 0.5851 GB, free: 2.453 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.899e-05/0.4036, allocations: 165 kB / 0.5852 GB, free: 2.254 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.486e-06/0.4036, allocations: 0.7812 kB / 0.5852 GB, free: 2.254 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.341e-05/0.4036, allocations: 1.719 kB / 0.5852 GB, free: 2.254 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001154/0.4038, allocations: 40.41 kB / 0.5853 GB, free: 2.219 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.4038, allocations: 3.938 kB / 0.5853 GB, free: 2.215 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.726e-06/0.4038, allocations: 0.625 kB / 0.5853 GB, free: 2.215 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.4038, allocations: 0.9688 kB / 0.5853 GB, free: 2.215 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.872e-05/0.4039, allocations: 17.17 kB / 0.5853 GB, free: 2.207 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003065/0.4042, allocations: 246.7 kB / 0.5855 GB, free: 1.934 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001629/0.4043, allocations: 42.59 kB / 0.5856 GB, free: 1.902 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.922e-05/0.4044, allocations: 14.34 kB / 0.5856 GB, free: 1.891 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.454e-05/0.4044, allocations: 9.562 kB / 0.5856 GB, free: 1.883 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.422e-05/0.4044, allocations: 31.44 kB / 0.5856 GB, free: 1.844 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.4044, allocations: 0 / 0.5856 GB, free: 1.844 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001781/0.4046, allocations: 52.81 kB / 0.5857 GB, free: 1.805 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.216e-05/0.4047, allocations: 56.83 kB / 0.5857 GB, free: 1.738 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.075e-05/0.4047, allocations: 89.86 kB / 0.5858 GB, free: 1.641 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.141e-06/0.4047, allocations: 26.95 kB / 0.5858 GB, free: 1.609 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.14e-05/0.4047, allocations: 80.8 kB / 0.5859 GB, free: 1.527 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.894e-05/0.4047, allocations: 13.78 kB / 0.5859 GB, free: 1.516 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.887e-06/0.4048, allocations: 5.031 kB / 0.5859 GB, free: 1.512 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.876e-05/0.4048, allocations: 311.6 kB / 0.5862 GB, free: 1.199 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.83e-05/0.4048, allocations: 4.062 kB / 0.5862 GB, free: 1.199 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.627e-05/0.4049, allocations: 17.12 kB / 0.5863 GB, free: 1.188 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.664e-05/0.4049, allocations: 4.359 kB / 0.5863 GB, free: 1.188 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.4049, allocations: 1.25 kB / 0.5863 GB, free: 1.188 MB / 430.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.368e-05/0.405, allocations: 52.69 kB / 0.5863 GB, free: 1.145 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.405, allocations: 4.875 kB / 0.5863 GB, free: 1.145 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.405, allocations: 1.156 kB / 0.5863 GB, free: 1.145 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.405, allocations: 4.75 kB / 0.5863 GB, free: 1.141 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.672e-05/0.4051, allocations: 5.922 kB / 0.5863 GB, free: 1.141 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.4051, allocations: 4 kB / 0.5863 GB, free: 1.137 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.334e-05/0.4051, allocations: 4.922 kB / 0.5863 GB, free: 1.133 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.554e-06/0.4051, allocations: 1.516 kB / 0.5863 GB, free: 1.133 MB / 430.1 MB 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 (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.502e-05/0.4052, allocations: 113.9 kB / 0.5864 GB, free: 1.016 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.27e-05/0.4052, allocations: 1.828 kB / 0.5864 GB, free: 1.016 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001531/0.4054, allocations: 78.98 kB / 0.5865 GB, free: 0.9531 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.4054, allocations: 1.344 kB / 0.5865 GB, free: 0.9531 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.4054, allocations: 0.7031 kB / 0.5865 GB, free: 0.9531 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.4054, allocations: 0 / 0.5865 GB, free: 0.9531 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001376/0.4056, allocations: 166.7 kB / 0.5867 GB, free: 0.7539 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.4056, allocations: 0.6562 kB / 0.5867 GB, free: 0.7539 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.262e-05/0.4056, allocations: 8.234 kB / 0.5867 GB, free: 0.7539 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.866e-06/0.4056, allocations: 1.312 kB / 0.5867 GB, free: 0.7539 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.13e-05/0.4057, allocations: 4.719 kB / 0.5867 GB, free: 0.75 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.4057, allocations: 4.5 kB / 0.5867 GB, free: 0.7461 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.4057, allocations: 1.219 kB / 0.5867 GB, free: 0.7461 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001182/0.4058, allocations: 168.4 kB / 0.5869 GB, free: 0.5898 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.352e-05/0.4058, allocations: 78.98 kB / 0.5869 GB, free: 0.4961 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.379e-05/0.4058, allocations: 1.453 kB / 0.5869 GB, free: 0.4961 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.7e-05/0.4059, allocations: 0 / 0.5869 GB, free: 0.4961 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.556e-05/0.4059, allocations: 4.25 kB / 0.5869 GB, free: 0.4961 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.559e-06/0.406, allocations: 1.125 kB / 0.5869 GB, free: 0.4961 MB / 430.1 MB Notification: Performance of sorting global known variables: time 1.677e-05/0.406, allocations: 80.5 kB / 0.587 GB, free: 428 kB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.406, allocations: 4 kB / 0.587 GB, free: 424 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002258/0.4062, allocations: 3.906 kB / 0.587 GB, free: 424 kB / 430.1 MB 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 (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003867/0.4066, allocations: 0.6885 MB / 0.5877 GB, free: 15.74 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001036/0.4067, allocations: 29.48 kB / 0.5877 GB, free: 15.73 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.4067, allocations: 0 / 0.5877 GB, free: 15.73 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 3.507e-05/0.4068, allocations: 21.12 kB / 0.5877 GB, free: 15.72 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002081/0.407, allocations: 2.516 kB / 0.5877 GB, free: 15.72 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004123/0.4074, allocations: 160.7 kB / 0.5879 GB, free: 15.55 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002405/0.4077, allocations: 0.6772 MB / 0.5886 GB, free: 14.85 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.413e-05/0.4077, allocations: 3.219 kB / 0.5886 GB, free: 14.85 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.237e-05/0.4078, allocations: 14.84 kB / 0.5886 GB, free: 14.84 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4078, allocations: 0 / 0.5886 GB, free: 14.84 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01265/0.4204, allocations: 0.9799 MB / 0.5895 GB, free: 14.73 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001797/0.4207, allocations: 205 kB / 0.5897 GB, free: 14.49 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.608/2.029, allocations: 1.156 kB / 0.5897 GB, free: 14.49 MB / 446.1 MB (rm -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime.fmu > IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe 2>&1) Environment - environmentSimulation: