Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime,fileNamePrefix="IDEAS_dev_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.001778/0.001778, 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.00201/0.00201, allocations: 194.6 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 2.799/2.799, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.787/1.787, allocations: 135.1 MB / 425.5 MB, free: 11.92 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002463/0.002464, allocations: 68.38 kB / 0.5055 GB, free: 5.223 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2442/0.2467, allocations: 80.93 MB / 0.5845 GB, free: 4.457 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.003053/0.2498, allocations: 0.6823 MB / 0.5852 GB, free: 3.773 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002171/0.252, allocations: 1.09 MB / 0.5862 GB, free: 2.668 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.288e-05/0.252, allocations: 0 / 0.5862 GB, free: 2.668 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.969e-05/0.2521, allocations: 0 / 0.5862 GB, free: 2.668 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.952e-05/0.2522, allocations: 3.938 kB / 0.5862 GB, free: 2.664 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002207/0.2524, allocations: 19.98 kB / 0.5862 GB, free: 2.645 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.684e-05/0.2525, allocations: 23.91 kB / 0.5863 GB, free: 2.621 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001078/0.2526, allocations: 11.94 kB / 0.5863 GB, free: 2.609 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.426e-05/0.2527, allocations: 4 kB / 0.5863 GB, free: 2.605 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.169e-05/0.2528, allocations: 11.98 kB / 0.5863 GB, free: 2.594 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.507e-05/0.2529, allocations: 0 / 0.5863 GB, free: 2.594 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.149e-05/0.2529, allocations: 0 / 0.5863 GB, free: 2.594 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.237e-05/0.2529, allocations: 4 kB / 0.5863 GB, free: 2.59 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.578e-05/0.253, allocations: 11.91 kB / 0.5863 GB, free: 2.578 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 8.12e-05/0.2531, allocations: 11.98 kB / 0.5863 GB, free: 2.566 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.2531, allocations: 4 kB / 0.5863 GB, free: 2.562 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.2531, allocations: 0 / 0.5863 GB, free: 2.562 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.628e-06/0.2531, allocations: 0 / 0.5863 GB, free: 2.562 MB / 494.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.0005569/0.2537, allocations: 327.8 kB / 0.5866 GB, free: 2.195 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.273e-05/0.2537, allocations: 8.031 kB / 0.5866 GB, free: 2.188 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.319e-05/0.2538, allocations: 30.75 kB / 0.5867 GB, free: 2.148 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.448e-05/0.2539, allocations: 12.83 kB / 0.5867 GB, free: 2.137 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001348/0.254, allocations: 168.3 kB / 0.5868 GB, free: 1.934 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.043e-05/0.2541, allocations: 12.31 kB / 0.5869 GB, free: 1.922 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.216e-05/0.2541, allocations: 384 / 0.5869 GB, free: 1.922 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001541/0.2542, allocations: 45.81 kB / 0.5869 GB, free: 1.871 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.2543, allocations: 0 / 0.5869 GB, free: 1.871 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.081e-05/0.2543, allocations: 0 / 0.5869 GB, free: 1.871 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.2543, allocations: 0 / 0.5869 GB, free: 1.871 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.212e-05/0.2544, allocations: 11.98 kB / 0.5869 GB, free: 1.859 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004676/0.2549, allocations: 252.9 kB / 0.5872 GB, free: 1.562 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002504/0.2552, allocations: 42.5 kB / 0.5872 GB, free: 1.512 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.512e-05/0.2552, allocations: 12.92 kB / 0.5872 GB, free: 1.496 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.907e-05/0.2553, allocations: 0 / 0.5872 GB, free: 1.496 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.804e-05/0.2553, allocations: 38.55 kB / 0.5872 GB, free: 1.449 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.964e-06/0.2553, allocations: 0 / 0.5872 GB, free: 1.449 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002705/0.2556, allocations: 53.69 kB / 0.5873 GB, free: 1.391 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.392e-05/0.2557, allocations: 55.34 kB / 0.5873 GB, free: 1.324 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.616e-05/0.2558, allocations: 89.86 kB / 0.5874 GB, free: 1.227 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.993e-05/0.2558, allocations: 29.64 kB / 0.5875 GB, free: 1.191 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.004e-05/0.2559, allocations: 80.14 kB / 0.5875 GB, free: 1.109 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.686e-05/0.2559, allocations: 7.906 kB / 0.5875 GB, free: 1.102 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.221e-05/0.256, allocations: 21.7 kB / 0.5876 GB, free: 1.074 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000152/0.2562, allocations: 310.8 kB / 0.5879 GB, free: 0.7617 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.403e-05/0.2562, allocations: 8 kB / 0.5879 GB, free: 0.7539 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.147e-05/0.2563, allocations: 7.984 kB / 0.5879 GB, free: 0.7461 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.299e-05/0.2564, allocations: 20.8 kB / 0.5879 GB, free: 0.7227 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.2564, allocations: 0 / 0.5879 GB, free: 0.7227 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001525/0.2566, allocations: 49.97 kB / 0.5879 GB, free: 0.668 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.247e-05/0.2566, allocations: 11.94 kB / 0.588 GB, free: 0.6562 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.2566, allocations: 48 / 0.588 GB, free: 0.6562 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.984e-05/0.2566, allocations: 3.984 kB / 0.588 GB, free: 0.6523 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.387e-05/0.2567, allocations: 7.984 kB / 0.588 GB, free: 0.6445 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.38e-05/0.2568, allocations: 3.984 kB / 0.588 GB, free: 0.6406 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.783e-05/0.2568, allocations: 7.906 kB / 0.588 GB, free: 0.6328 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.797e-06/0.2569, allocations: 0 / 0.588 GB, free: 0.6328 MB / 494.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 0.0001133/0.257, allocations: 113.8 kB / 0.5881 GB, free: 0.5117 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.975e-05/0.257, allocations: 0 / 0.5881 GB, free: 0.5117 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002626/0.2573, allocations: 77.11 kB / 0.5882 GB, free: 436 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.928e-06/0.2574, allocations: 0 / 0.5882 GB, free: 436 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.229e-06/0.2574, allocations: 0 / 0.5882 GB, free: 436 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.2574, allocations: 0 / 0.5882 GB, free: 436 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002917/0.2577, allocations: 173.5 kB / 0.5883 GB, free: 212 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.762e-06/0.2577, allocations: 7.922 kB / 0.5883 GB, free: 204 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.684e-05/0.2578, allocations: 8 kB / 0.5883 GB, free: 196 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.2578, allocations: 0 / 0.5883 GB, free: 196 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.153e-05/0.2579, allocations: 12.06 kB / 0.5884 GB, free: 184 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.2579, allocations: 0 / 0.5884 GB, free: 184 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.2579, allocations: 0 / 0.5884 GB, free: 184 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002279/0.2581, allocations: 155.5 kB / 0.5885 GB, free: 12 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.013e-05/0.2582, allocations: 85.02 kB / 0.5886 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.275e-05/0.2583, allocations: 4 kB / 0.5886 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001161/0.2584, allocations: 3.984 kB / 0.5886 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.895e-05/0.2584, allocations: 0 / 0.5886 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.148e-05/0.2585, allocations: 4 kB / 0.5886 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.477e-05/0.2585, allocations: 79.28 kB / 0.5887 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.71e-07/0.2585, allocations: 3.938 kB / 0.5887 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004426/0.259, allocations: 4 kB / 0.5887 GB, free: 15.81 MB / 0.4981 GB 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.0006365/0.2596, allocations: 0.6942 MB / 0.5894 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001576/0.2598, allocations: 31.88 kB / 0.5894 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.2599, allocations: 0 / 0.5894 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 6.101e-05/0.2599, allocations: 19.98 kB / 0.5894 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003961/0.2603, allocations: 8 kB / 0.5894 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006656/0.261, allocations: 139.1 kB / 0.5895 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003563/0.2614, allocations: 0.6768 MB / 0.5902 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.918e-05/0.2615, allocations: 4 kB / 0.5902 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.327e-05/0.2616, allocations: 15.42 kB / 0.5902 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of SimCode: time 2.826e-06/0.2616, allocations: 0 / 0.5902 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1277/0.3893, allocations: 1.169 MB / 0.5914 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.73/17.12, allocations: 2.844 kB / 0.5914 GB, free: 13.1 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime.fmu > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe 2>&1)