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.004631/0.004631, allocations: 104.8 kB / 15.74 MB, free: 6.062 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.002068/0.002068, allocations: 194.7 kB / 16.68 MB, free: 5.973 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.428/1.428, allocations: 222.9 MB / 240.4 MB, free: 4.184 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.836/0.836, allocations: 132.2 MB / 422.7 MB, free: 1.598 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001889/0.001889, allocations: 60.81 kB / 0.5809 GB, free: 1.102 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1408/0.1427, allocations: 80.21 MB / 0.6592 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.001729/0.1444, allocations: 0.688 MB / 0.6599 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001247/0.1457, allocations: 1.093 MB / 0.661 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.297e-05/0.1457, allocations: 0 / 0.661 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.637e-05/0.1457, allocations: 0 / 0.661 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 2.482e-05/0.1458, allocations: 4 kB / 0.661 GB, free: 12.15 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001514/0.1459, allocations: 19.91 kB / 0.661 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.185e-05/0.146, allocations: 15.98 kB / 0.661 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.596e-05/0.1461, allocations: 8 kB / 0.661 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.166e-05/0.1462, allocations: 15.92 kB / 0.661 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.699e-05/0.1462, allocations: 11.98 kB / 0.661 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.122e-05/0.1463, allocations: 0 / 0.661 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.177e-06/0.1463, allocations: 0 / 0.661 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.844e-05/0.1463, allocations: 11.92 kB / 0.661 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.292e-05/0.1463, allocations: 8 kB / 0.661 GB, free: 12.06 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 7.026e-05/0.1464, allocations: 16.14 kB / 0.6611 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.1464, allocations: 0 / 0.6611 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.403e-06/0.1464, allocations: 0 / 0.6611 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.519e-06/0.1464, allocations: 0 / 0.6611 GB, free: 12.05 MB / 0.4981 GB 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.0004147/0.1468, allocations: 325.5 kB / 0.6614 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.1469, allocations: 12.02 kB / 0.6614 GB, free: 11.67 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.909e-05/0.1469, allocations: 30.75 kB / 0.6614 GB, free: 11.63 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.954e-05/0.147, allocations: 4.938 kB / 0.6614 GB, free: 11.63 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001077/0.1471, allocations: 168.4 kB / 0.6616 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.009e-05/0.1471, allocations: 384 / 0.6616 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.863e-06/0.1471, allocations: 384 / 0.6616 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000104/0.1472, allocations: 53.69 kB / 0.6616 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.236e-06/0.1472, allocations: 0 / 0.6616 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.314e-06/0.1472, allocations: 0 / 0.6616 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.1472, allocations: 0 / 0.6616 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.15e-05/0.1473, allocations: 19.97 kB / 0.6616 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003287/0.1476, allocations: 256.8 kB / 0.6619 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001614/0.1478, allocations: 46.55 kB / 0.6619 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.316e-05/0.1478, allocations: 16.91 kB / 0.662 GB, free: 10.97 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.508e-05/0.1479, allocations: 0 / 0.662 GB, free: 10.97 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.582e-05/0.1479, allocations: 30.56 kB / 0.662 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/0.1479, allocations: 8 kB / 0.662 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0001713/0.1481, allocations: 49.69 kB / 0.662 GB, free: 10.87 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.003e-05/0.1481, allocations: 51.41 kB / 0.6621 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.552e-05/0.1482, allocations: 89.86 kB / 0.6622 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.562e-05/0.1482, allocations: 25.7 kB / 0.6622 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.227e-05/0.1483, allocations: 84.08 kB / 0.6623 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.167e-05/0.1483, allocations: 15.94 kB / 0.6623 GB, free: 10.58 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.124e-05/0.1483, allocations: 9.719 kB / 0.6623 GB, free: 10.56 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001457/0.1485, allocations: 318.8 kB / 0.6626 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.998e-05/0.1485, allocations: 11.92 kB / 0.6626 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.313e-05/0.1485, allocations: 4 kB / 0.6626 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.465e-05/0.1486, allocations: 20.8 kB / 0.6626 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.1486, allocations: 0 / 0.6626 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.118e-05/0.1487, allocations: 49.69 kB / 0.6627 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/0.1487, allocations: 11.94 kB / 0.6627 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.1487, allocations: 3.984 kB / 0.6627 GB, free: 10.13 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.126e-05/0.1487, allocations: 0 / 0.6627 GB, free: 10.13 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.588e-05/0.1488, allocations: 4 kB / 0.6627 GB, free: 10.13 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.642e-06/0.1488, allocations: 7.938 kB / 0.6627 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.46e-05/0.1488, allocations: 3.953 kB / 0.6627 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.428e-06/0.1488, allocations: 0 / 0.6627 GB, free: 10.12 MB / 0.4981 GB 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 8.151e-05/0.1489, allocations: 114.4 kB / 0.6628 GB, free: 9.996 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.375e-05/0.1489, allocations: 4 kB / 0.6628 GB, free: 9.992 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001491/0.1491, allocations: 73.17 kB / 0.6629 GB, free: 9.906 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.1491, allocations: 0 / 0.6629 GB, free: 9.906 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.1491, allocations: 0 / 0.6629 GB, free: 9.906 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.504e-06/0.1491, allocations: 4 kB / 0.6629 GB, free: 9.902 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001854/0.1493, allocations: 165.6 kB / 0.6631 GB, free: 9.691 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.1493, allocations: 0 / 0.6631 GB, free: 9.691 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.514e-05/0.1494, allocations: 8 kB / 0.6631 GB, free: 9.684 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.694e-06/0.1494, allocations: 3.938 kB / 0.6631 GB, free: 9.68 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.062e-05/0.1494, allocations: 8 kB / 0.6631 GB, free: 9.672 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.1494, allocations: 3.938 kB / 0.6631 GB, free: 9.668 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.32e-07/0.1494, allocations: 0 / 0.6631 GB, free: 9.668 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001501/0.1496, allocations: 159.5 kB / 0.6632 GB, free: 9.496 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.528e-05/0.1496, allocations: 88.98 kB / 0.6633 GB, free: 9.391 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.786e-05/0.1496, allocations: 4 kB / 0.6633 GB, free: 9.387 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.382e-05/0.1497, allocations: 336 / 0.6633 GB, free: 9.387 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.907e-05/0.1498, allocations: 4 kB / 0.6633 GB, free: 9.383 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.871e-06/0.1498, allocations: 4 kB / 0.6633 GB, free: 9.379 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.716e-05/0.1498, allocations: 75.28 kB / 0.6634 GB, free: 9.305 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.8e-07/0.1498, allocations: 0 / 0.6634 GB, free: 9.305 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002208/0.1501, allocations: 4 kB / 0.6634 GB, free: 9.301 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.0004577/0.1505, allocations: 0.6968 MB / 0.6641 GB, free: 8.574 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 9.357e-05/0.1506, allocations: 27.97 kB / 0.6641 GB, free: 8.547 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.1506, allocations: 0 / 0.6641 GB, free: 8.547 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.167e-05/0.1507, allocations: 20.12 kB / 0.6641 GB, free: 8.527 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002027/0.1509, allocations: 4 kB / 0.6641 GB, free: 8.523 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003927/0.1513, allocations: 147.2 kB / 0.6643 GB, free: 8.34 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000296/0.1516, allocations: 0.6729 MB / 0.6649 GB, free: 7.641 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.942e-05/0.1516, allocations: 7.938 kB / 0.6649 GB, free: 7.633 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.007e-05/0.1517, allocations: 15.42 kB / 0.665 GB, free: 7.617 MB / 0.4981 GB Notification: Performance of SimCode: time 2.8e-07/0.1517, allocations: 4 kB / 0.665 GB, free: 7.613 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01982/0.1715, allocations: 1.187 MB / 0.6661 GB, free: 6.57 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.727/7.899, allocations: 5.094 kB / 0.6661 GB, free: 6.566 MB / 0.4981 GB (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)