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.007386/0.007386, allocations: 96.44 kB / 15.73 MB, free: 6.004 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.00212/0.00212, allocations: 185.4 kB / 16.67 MB, free: 5.938 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.43/1.43, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8423/0.8423, allocations: 135.6 MB / 426.1 MB, free: 3.664 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001878/0.001878, allocations: 71.36 kB / 0.5858 GB, free: 21.57 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1335/0.1354, allocations: 81.02 MB / 0.6649 GB, free: 5.746 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.001705/0.1372, allocations: 0.6802 MB / 0.6655 GB, free: 5.07 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001268/0.1384, allocations: 1.104 MB / 0.6666 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.932e-05/0.1385, allocations: 4 kB / 0.6666 GB, free: 3.945 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.322e-05/0.1385, allocations: 0 / 0.6666 GB, free: 3.945 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 2.428e-05/0.1385, allocations: 3.938 kB / 0.6666 GB, free: 3.941 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001334/0.1387, allocations: 11.98 kB / 0.6666 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.658e-05/0.1387, allocations: 11.98 kB / 0.6667 GB, free: 3.918 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.084e-05/0.1388, allocations: 4 kB / 0.6667 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.608e-05/0.1389, allocations: 15.92 kB / 0.6667 GB, free: 3.898 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.01e-05/0.1389, allocations: 7.984 kB / 0.6667 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.671e-05/0.139, allocations: 11.94 kB / 0.6667 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.394e-06/0.139, allocations: 0 / 0.6667 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.446e-05/0.139, allocations: 4 kB / 0.6667 GB, free: 3.875 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.691e-05/0.139, allocations: 11.98 kB / 0.6667 GB, free: 3.863 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 6.135e-05/0.1391, allocations: 16.2 kB / 0.6667 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.945e-06/0.1391, allocations: 0 / 0.6667 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.112e-06/0.1391, allocations: 0 / 0.6667 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.058e-06/0.1391, allocations: 0 / 0.6667 GB, free: 3.848 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.0003928/0.1395, allocations: 331.5 kB / 0.667 GB, free: 3.477 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.1396, allocations: 13.11 kB / 0.667 GB, free: 3.465 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.164e-05/0.1396, allocations: 30.75 kB / 0.6671 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.044e-05/0.1396, allocations: 0.9375 kB / 0.6671 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001089/0.1397, allocations: 160.4 kB / 0.6672 GB, free: 3.23 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.917e-06/0.1397, allocations: 4.312 kB / 0.6672 GB, free: 3.227 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.322e-06/0.1398, allocations: 4.375 kB / 0.6672 GB, free: 3.223 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.371e-05/0.1399, allocations: 45.8 kB / 0.6673 GB, free: 3.172 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.582e-06/0.1399, allocations: 0 / 0.6673 GB, free: 3.172 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.131e-06/0.1399, allocations: 0 / 0.6673 GB, free: 3.172 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.1399, allocations: 8 kB / 0.6673 GB, free: 3.164 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.271e-05/0.1399, allocations: 8 kB / 0.6673 GB, free: 3.156 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000313/0.1403, allocations: 248.9 kB / 0.6675 GB, free: 2.863 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001556/0.1404, allocations: 50.53 kB / 0.6676 GB, free: 2.805 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.284e-05/0.1405, allocations: 16.92 kB / 0.6676 GB, free: 2.785 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.248e-05/0.1405, allocations: 4 kB / 0.6676 GB, free: 2.781 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.404e-05/0.1405, allocations: 30.56 kB / 0.6676 GB, free: 2.742 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.1405, allocations: 0 / 0.6676 GB, free: 2.742 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0001597/0.1407, allocations: 57.81 kB / 0.6677 GB, free: 2.68 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.064e-05/0.1407, allocations: 67.27 kB / 0.6678 GB, free: 2.602 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.238e-05/0.1408, allocations: 89.86 kB / 0.6678 GB, free: 2.504 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.459e-05/0.1408, allocations: 25.7 kB / 0.6679 GB, free: 2.473 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.65e-05/0.1409, allocations: 80.14 kB / 0.6679 GB, free: 2.391 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.65e-05/0.1409, allocations: 11.89 kB / 0.668 GB, free: 2.379 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.392e-05/0.1409, allocations: 17.72 kB / 0.668 GB, free: 2.355 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001391/0.1411, allocations: 310.8 kB / 0.6683 GB, free: 2.043 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.927e-05/0.1411, allocations: 7.984 kB / 0.6683 GB, free: 2.035 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.467e-05/0.1411, allocations: 8 kB / 0.6683 GB, free: 2.027 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.994e-05/0.1412, allocations: 24.78 kB / 0.6683 GB, free: 2 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.1412, allocations: 7.938 kB / 0.6683 GB, free: 1.992 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.896e-05/0.1413, allocations: 49.62 kB / 0.6684 GB, free: 1.938 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.045e-05/0.1413, allocations: 8 kB / 0.6684 GB, free: 1.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.096e-06/0.1413, allocations: 0 / 0.6684 GB, free: 1.93 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.288e-06/0.1413, allocations: 0 / 0.6684 GB, free: 1.93 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.27e-05/0.1413, allocations: 4 kB / 0.6684 GB, free: 1.926 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.621e-06/0.1414, allocations: 7.984 kB / 0.6684 GB, free: 1.918 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.175e-05/0.1414, allocations: 0 / 0.6684 GB, free: 1.918 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-06/0.1414, allocations: 4 kB / 0.6684 GB, free: 1.914 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.082e-05/0.1415, allocations: 113.8 kB / 0.6685 GB, free: 1.793 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.504e-05/0.1415, allocations: 7.953 kB / 0.6685 GB, free: 1.785 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001464/0.1417, allocations: 77.17 kB / 0.6686 GB, free: 1.695 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.1417, allocations: 0 / 0.6686 GB, free: 1.695 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.935e-06/0.1417, allocations: 0 / 0.6686 GB, free: 1.695 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.469e-06/0.1417, allocations: 0 / 0.6686 GB, free: 1.695 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001819/0.1419, allocations: 169.5 kB / 0.6687 GB, free: 1.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.1419, allocations: 0 / 0.6687 GB, free: 1.48 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.178e-05/0.1419, allocations: 8 kB / 0.6687 GB, free: 1.473 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.1419, allocations: 0 / 0.6687 GB, free: 1.473 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.891e-06/0.1419, allocations: 0 / 0.6687 GB, free: 1.473 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/0.142, allocations: 3.984 kB / 0.6687 GB, free: 1.469 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.142, allocations: 0 / 0.6687 GB, free: 1.469 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000151/0.1421, allocations: 167.5 kB / 0.6689 GB, free: 1.289 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.107e-05/0.1422, allocations: 77.11 kB / 0.669 GB, free: 1.195 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.367e-06/0.1422, allocations: 0 / 0.669 GB, free: 1.195 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.401e-05/0.1422, allocations: 0 / 0.669 GB, free: 1.195 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.632e-05/0.1423, allocations: 4 kB / 0.669 GB, free: 1.191 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.73e-06/0.1423, allocations: 4.125 kB / 0.669 GB, free: 1.188 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.434e-05/0.1423, allocations: 79.22 kB / 0.6691 GB, free: 1.109 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1423, allocations: 4 kB / 0.6691 GB, free: 1.105 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002278/0.1426, allocations: 15.92 kB / 0.6691 GB, free: 1.09 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.0004555/0.143, allocations: 0.6928 MB / 0.6698 GB, free: 376 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 8.884e-05/0.1431, allocations: 31.92 kB / 0.6698 GB, free: 344 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.442e-06/0.1431, allocations: 0 / 0.6698 GB, free: 344 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.895e-05/0.1432, allocations: 20 kB / 0.6698 GB, free: 324 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001925/0.1434, allocations: 0 / 0.6698 GB, free: 324 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003673/0.1437, allocations: 151 kB / 0.6699 GB, free: 132 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003078/0.144, allocations: 0.6729 MB / 0.6706 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.902e-05/0.1441, allocations: 7.984 kB / 0.6706 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.924e-05/0.1441, allocations: 7.438 kB / 0.6706 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of SimCode: time 2.81e-07/0.1441, allocations: 4 kB / 0.6706 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02159/0.1657, allocations: 1.194 MB / 0.6718 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.588/7.754, allocations: 4.062 kB / 0.6718 GB, free: 14.35 MB / 0.5137 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)