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.001038/0.001038, 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.001037/0.001037, allocations: 194.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.221/1.221, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7018/0.7018, allocations: 132.2 MB / 422.6 MB, free: 1.781 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001152/0.001152, allocations: 68.86 kB / 0.5019 GB, free: 3.77 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3123/0.3135, allocations: 80.2 MB / 0.5802 GB, free: 4.582 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.001702/0.3152, allocations: 0.7003 MB / 0.5809 GB, free: 4.145 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008794/0.3161, allocations: 1.084 MB / 0.5819 GB, free: 3.34 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.909e-05/0.3162, allocations: 4 kB / 0.5819 GB, free: 3.336 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.998e-05/0.3162, allocations: 4.75 kB / 0.5819 GB, free: 3.332 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 2.727e-05/0.3162, allocations: 4.734 kB / 0.582 GB, free: 3.328 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001371/0.3164, allocations: 14.47 kB / 0.582 GB, free: 3.32 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.665e-05/0.3164, allocations: 18.08 kB / 0.582 GB, free: 3.312 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.854e-05/0.3165, allocations: 7.312 kB / 0.582 GB, free: 3.309 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.418e-05/0.3166, allocations: 15.77 kB / 0.582 GB, free: 3.301 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.574e-05/0.3166, allocations: 9.531 kB / 0.582 GB, free: 3.297 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.126e-05/0.3166, allocations: 0.9375 kB / 0.582 GB, free: 3.297 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.258e-06/0.3167, allocations: 5.938 kB / 0.582 GB, free: 3.293 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.354e-05/0.3167, allocations: 5.266 kB / 0.582 GB, free: 3.289 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.575e-05/0.3167, allocations: 7.703 kB / 0.582 GB, free: 3.285 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 5.415e-05/0.3168, allocations: 12.75 kB / 0.582 GB, free: 3.281 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.836e-06/0.3168, allocations: 0 / 0.582 GB, free: 3.281 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.3168, allocations: 0 / 0.582 GB, free: 3.281 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.925e-06/0.3168, allocations: 0.75 kB / 0.582 GB, free: 3.281 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.0002629/0.3171, allocations: 324.5 kB / 0.5824 GB, free: 2.934 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.175e-05/0.3171, allocations: 13.36 kB / 0.5824 GB, free: 2.93 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.866e-05/0.3171, allocations: 32.2 kB / 0.5824 GB, free: 2.891 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.931e-05/0.3171, allocations: 5.719 kB / 0.5824 GB, free: 2.887 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.261e-05/0.3172, allocations: 166.6 kB / 0.5826 GB, free: 2.688 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.588e-06/0.3172, allocations: 1.156 kB / 0.5826 GB, free: 2.688 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.987e-06/0.3172, allocations: 2.312 kB / 0.5826 GB, free: 2.688 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.305e-05/0.3173, allocations: 44.34 kB / 0.5826 GB, free: 2.648 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.442e-06/0.3173, allocations: 0 / 0.5826 GB, free: 2.648 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.572e-06/0.3173, allocations: 0.8438 kB / 0.5826 GB, free: 2.648 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.3173, allocations: 0.5938 kB / 0.5826 GB, free: 2.648 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.914e-05/0.3174, allocations: 20.5 kB / 0.5826 GB, free: 2.637 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002198/0.3176, allocations: 255.7 kB / 0.5829 GB, free: 2.355 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001412/0.3178, allocations: 42.75 kB / 0.5829 GB, free: 2.324 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.609e-05/0.3178, allocations: 11.95 kB / 0.5829 GB, free: 2.316 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.364e-05/0.3178, allocations: 8 kB / 0.5829 GB, free: 2.309 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.869e-06/0.3178, allocations: 32.28 kB / 0.583 GB, free: 2.27 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.3178, allocations: 0 / 0.583 GB, free: 2.27 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001331/0.318, allocations: 52.44 kB / 0.583 GB, free: 2.23 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.576e-05/0.318, allocations: 53.42 kB / 0.5831 GB, free: 2.168 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.175e-05/0.318, allocations: 93.86 kB / 0.5832 GB, free: 2.066 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.8e-06/0.318, allocations: 25.7 kB / 0.5832 GB, free: 2.035 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.21e-05/0.318, allocations: 81.88 kB / 0.5833 GB, free: 1.953 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.682e-05/0.3181, allocations: 13.56 kB / 0.5833 GB, free: 1.941 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.57e-05/0.3181, allocations: 18.48 kB / 0.5833 GB, free: 1.922 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.085e-05/0.3181, allocations: 313 kB / 0.5836 GB, free: 1.609 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.555e-05/0.3181, allocations: 2.984 kB / 0.5836 GB, free: 1.609 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.294e-05/0.3182, allocations: 13.14 kB / 0.5836 GB, free: 1.602 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.766e-05/0.3182, allocations: 27.05 kB / 0.5836 GB, free: 1.582 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.3182, allocations: 0 / 0.5836 GB, free: 1.582 MB / 430.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.465e-05/0.3183, allocations: 54 kB / 0.5837 GB, free: 1.539 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.518e-06/0.3183, allocations: 4.375 kB / 0.5837 GB, free: 1.539 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.546e-06/0.3183, allocations: 4.844 kB / 0.5837 GB, free: 1.535 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.071e-05/0.3183, allocations: 1.578 kB / 0.5837 GB, free: 1.535 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.33e-05/0.3184, allocations: 4.797 kB / 0.5837 GB, free: 1.535 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.549e-06/0.3184, allocations: 5.297 kB / 0.5837 GB, free: 1.531 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.296e-05/0.3184, allocations: 0.7031 kB / 0.5837 GB, free: 1.531 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.16e-06/0.3184, allocations: 1.344 kB / 0.5837 GB, free: 1.531 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.973e-05/0.3185, allocations: 117.2 kB / 0.5838 GB, free: 1.41 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.382e-05/0.3185, allocations: 1.453 kB / 0.5838 GB, free: 1.41 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000119/0.3186, allocations: 80.11 kB / 0.5839 GB, free: 1.348 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.3186, allocations: 0.6875 kB / 0.5839 GB, free: 1.348 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.3186, allocations: 1.359 kB / 0.5839 GB, free: 1.348 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.3186, allocations: 0.6094 kB / 0.5839 GB, free: 1.348 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001174/0.3188, allocations: 165.9 kB / 0.5841 GB, free: 1.148 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.3188, allocations: 0 / 0.5841 GB, free: 1.148 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.067e-05/0.3188, allocations: 9.484 kB / 0.5841 GB, free: 1.148 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.013e-06/0.3188, allocations: 4.969 kB / 0.5841 GB, free: 1.145 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.482e-06/0.3188, allocations: 0.6094 kB / 0.5841 GB, free: 1.145 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.3188, allocations: 1.406 kB / 0.5841 GB, free: 1.145 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.3188, allocations: 4 kB / 0.5841 GB, free: 1.141 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.886e-05/0.3189, allocations: 161.5 kB / 0.5842 GB, free: 0.9922 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.329e-05/0.319, allocations: 82.56 kB / 0.5843 GB, free: 0.8945 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.099e-05/0.319, allocations: 1.812 kB / 0.5843 GB, free: 0.8945 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.428e-05/0.319, allocations: 4.547 kB / 0.5843 GB, free: 0.8906 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.726e-05/0.3191, allocations: 3.141 kB / 0.5843 GB, free: 0.8906 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.777e-06/0.3191, allocations: 2.188 kB / 0.5843 GB, free: 0.8906 MB / 430.1 MB Notification: Performance of sorting global known variables: time 9.217e-06/0.3191, allocations: 79.28 kB / 0.5844 GB, free: 0.8125 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3191, allocations: 0 / 0.5844 GB, free: 0.8125 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002074/0.3193, allocations: 8.5 kB / 0.5844 GB, free: 0.8086 MB / 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.0002127/0.3195, allocations: 0.6859 MB / 0.5851 GB, free: 144 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 8.72e-05/0.3196, allocations: 29.92 kB / 0.5851 GB, free: 132 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.3196, allocations: 4 kB / 0.5851 GB, free: 128 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 2.647e-05/0.3196, allocations: 17.94 kB / 0.5851 GB, free: 124 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000185/0.3198, allocations: 1 kB / 0.5851 GB, free: 124 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003365/0.3202, allocations: 150.7 kB / 0.5853 GB, free: 15.96 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002115/0.3204, allocations: 0.6815 MB / 0.5859 GB, free: 15.27 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.092e-05/0.3204, allocations: 7.547 kB / 0.5859 GB, free: 15.26 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.109e-05/0.3205, allocations: 10.56 kB / 0.5859 GB, free: 15.25 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3205, allocations: 0 / 0.5859 GB, free: 15.25 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02296/0.3434, allocations: 1.152 MB / 0.5871 GB, free: 14.93 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.593/6.936, allocations: 11.45 kB / 0.5871 GB, free: 14.93 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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime.fmu > IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe 2>&1)