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.0009164/0.0009202, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.004937/0.004937, allocations: 169.6 kB / 16.27 MB, free: 6.652 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.187/1.187, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6756/0.6756, allocations: 132.3 MB / 423.8 MB, free: 1.992 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002723/0.0002723, allocations: 12.77 kB / 0.5041 GB, free: 3.824 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3191/0.3194, allocations: 81.57 MB / 0.5837 GB, free: 4.062 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.0006964/0.3201, allocations: 434.7 kB / 0.5842 GB, free: 3.781 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008896/0.321, allocations: 1.083 MB / 0.5852 GB, free: 2.973 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.601e-05/0.321, allocations: 1.031 kB / 0.5852 GB, free: 2.973 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.211e-05/0.3211, allocations: 0 / 0.5852 GB, free: 2.973 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 2.296e-05/0.3211, allocations: 4.547 kB / 0.5852 GB, free: 2.969 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001309/0.3212, allocations: 10.59 kB / 0.5852 GB, free: 2.965 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.269e-05/0.3213, allocations: 12.8 kB / 0.5852 GB, free: 2.961 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.63e-05/0.3214, allocations: 11.97 kB / 0.5853 GB, free: 2.953 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.156e-05/0.3214, allocations: 14.23 kB / 0.5853 GB, free: 2.945 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.427e-05/0.3215, allocations: 10.12 kB / 0.5853 GB, free: 2.941 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.282e-05/0.3215, allocations: 4 kB / 0.5853 GB, free: 2.938 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.752e-06/0.3215, allocations: 1.469 kB / 0.5853 GB, free: 2.938 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.168e-05/0.3215, allocations: 0.6094 kB / 0.5853 GB, free: 2.938 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.481e-05/0.3215, allocations: 33.84 kB / 0.5853 GB, free: 2.902 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 4.945e-05/0.3216, allocations: 16.77 kB / 0.5853 GB, free: 2.895 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.3216, allocations: 1.375 kB / 0.5853 GB, free: 2.895 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.3216, allocations: 0 / 0.5853 GB, free: 2.895 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.046e-06/0.3216, allocations: 0 / 0.5853 GB, free: 2.895 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.0002431/0.3219, allocations: 324.9 kB / 0.5856 GB, free: 2.543 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.515e-05/0.3219, allocations: 10.11 kB / 0.5857 GB, free: 2.543 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.529e-05/0.3219, allocations: 36.22 kB / 0.5857 GB, free: 2.5 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.692e-05/0.322, allocations: 5.5 kB / 0.5857 GB, free: 2.496 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.299e-05/0.322, allocations: 162.6 kB / 0.5859 GB, free: 2.301 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.777e-06/0.322, allocations: 1.688 kB / 0.5859 GB, free: 2.301 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.125e-06/0.322, allocations: 4.969 kB / 0.5859 GB, free: 2.297 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.341e-05/0.3221, allocations: 41.86 kB / 0.5859 GB, free: 2.262 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.79e-06/0.3221, allocations: 3.938 kB / 0.5859 GB, free: 2.258 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.253e-06/0.3222, allocations: 8 kB / 0.5859 GB, free: 2.25 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.439e-06/0.3222, allocations: 4.906 kB / 0.5859 GB, free: 2.246 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.761e-05/0.3222, allocations: 9.438 kB / 0.5859 GB, free: 2.246 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000219/0.3224, allocations: 246.5 kB / 0.5862 GB, free: 1.973 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001289/0.3226, allocations: 42.02 kB / 0.5862 GB, free: 1.941 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.544e-05/0.3226, allocations: 19.61 kB / 0.5862 GB, free: 1.926 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.247e-06/0.3226, allocations: 4.875 kB / 0.5862 GB, free: 1.922 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.07e-05/0.3226, allocations: 32.17 kB / 0.5863 GB, free: 1.883 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 9.41e-07/0.3226, allocations: 0 / 0.5863 GB, free: 1.883 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001365/0.3228, allocations: 53.17 kB / 0.5863 GB, free: 1.844 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.532e-05/0.3228, allocations: 52.11 kB / 0.5864 GB, free: 1.781 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.245e-05/0.3228, allocations: 90.83 kB / 0.5864 GB, free: 1.684 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.74e-06/0.3228, allocations: 25.7 kB / 0.5865 GB, free: 1.652 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.242e-05/0.3228, allocations: 85.84 kB / 0.5865 GB, free: 1.566 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.846e-05/0.3229, allocations: 9.312 kB / 0.5866 GB, free: 1.559 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.766e-05/0.3229, allocations: 10.75 kB / 0.5866 GB, free: 1.543 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.147e-05/0.3229, allocations: 316.3 kB / 0.5869 GB, free: 1.227 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.549e-05/0.3229, allocations: 4.281 kB / 0.5869 GB, free: 1.227 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.321e-05/0.323, allocations: 13.36 kB / 0.5869 GB, free: 1.219 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.825e-05/0.323, allocations: 26.59 kB / 0.5869 GB, free: 1.199 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.323, allocations: 0.7031 kB / 0.5869 GB, free: 1.199 MB / 430.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.096e-05/0.3231, allocations: 49.44 kB / 0.587 GB, free: 1.16 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.809e-06/0.3231, allocations: 13.25 kB / 0.587 GB, free: 1.152 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.537e-06/0.3231, allocations: 0.6562 kB / 0.587 GB, free: 1.152 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.136e-05/0.3231, allocations: 0 / 0.587 GB, free: 1.152 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.931e-05/0.3232, allocations: 6.094 kB / 0.587 GB, free: 1.152 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.108e-06/0.3232, allocations: 1.156 kB / 0.587 GB, free: 1.152 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.041e-05/0.3232, allocations: 0 / 0.587 GB, free: 1.152 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.718e-06/0.3232, allocations: 1.703 kB / 0.587 GB, free: 1.152 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 3.815e-05/0.3232, allocations: 121.7 kB / 0.5871 GB, free: 1.027 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.159e-05/0.3233, allocations: 1.75 kB / 0.5871 GB, free: 1.027 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001153/0.3234, allocations: 71.23 kB / 0.5872 GB, free: 0.9727 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-06/0.3234, allocations: 1.828 kB / 0.5872 GB, free: 0.9727 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.3234, allocations: 0 / 0.5872 GB, free: 0.9727 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.255e-06/0.3234, allocations: 0.7812 kB / 0.5872 GB, free: 0.9727 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001132/0.3235, allocations: 169.6 kB / 0.5873 GB, free: 0.7695 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.3235, allocations: 0.7188 kB / 0.5873 GB, free: 0.7695 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.652e-05/0.3236, allocations: 12.88 kB / 0.5873 GB, free: 0.7656 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.3236, allocations: 0.8125 kB / 0.5873 GB, free: 0.7656 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.422e-06/0.3236, allocations: 1.875 kB / 0.5873 GB, free: 0.7656 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.3236, allocations: 4 kB / 0.5873 GB, free: 0.7617 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.3236, allocations: 6.047 kB / 0.5874 GB, free: 0.7578 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.811e-05/0.3237, allocations: 160.4 kB / 0.5875 GB, free: 0.6094 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.279e-05/0.3237, allocations: 82.42 kB / 0.5876 GB, free: 0.5117 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.081e-05/0.3238, allocations: 5.5 kB / 0.5876 GB, free: 0.5078 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.507e-05/0.3238, allocations: 1.125 kB / 0.5876 GB, free: 0.5078 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.689e-05/0.3238, allocations: 3.156 kB / 0.5876 GB, free: 0.5078 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.098e-06/0.3238, allocations: 1.547 kB / 0.5876 GB, free: 0.5078 MB / 430.1 MB Notification: Performance of sorting global known variables: time 8.345e-06/0.3239, allocations: 80.5 kB / 0.5877 GB, free: 440 kB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3239, allocations: 0 / 0.5877 GB, free: 440 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.0001995/0.3241, allocations: 3.594 kB / 0.5877 GB, free: 440 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 (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.0002729/0.3243, allocations: 0.694 MB / 0.5884 GB, free: 15.75 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 7.677e-05/0.3244, allocations: 28.25 kB / 0.5884 GB, free: 15.74 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.3244, allocations: 0.9375 kB / 0.5884 GB, free: 15.74 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.831e-05/0.3245, allocations: 20.48 kB / 0.5884 GB, free: 15.73 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001799/0.3247, allocations: 3.484 kB / 0.5884 GB, free: 15.73 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003338/0.325, allocations: 153.3 kB / 0.5886 GB, free: 15.57 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001901/0.3252, allocations: 0.6774 MB / 0.5892 GB, free: 14.87 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.062e-05/0.3252, allocations: 7.75 kB / 0.5892 GB, free: 14.87 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.04e-05/0.3253, allocations: 14.03 kB / 0.5892 GB, free: 14.86 MB / 446.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3253, allocations: 3.938 kB / 0.5892 GB, free: 14.85 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1214/0.4467, allocations: 0.9758 MB / 0.5902 GB, free: 14.74 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002079/0.447, allocations: 217.3 kB / 0.5904 GB, free: 14.49 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.502/1.949, allocations: 12 kB / 0.5904 GB, free: 14.48 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/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)