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.007591/0.007591, allocations: 102.8 kB / 15.74 MB, free: 5.551 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.001758/0.001759, allocations: 194.2 kB / 16.67 MB, free: 5.48 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.319/1.319, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9423/0.9423, allocations: 135.1 MB / 425.7 MB, free: 4.098 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001269/0.001269, allocations: 62.64 kB / 0.5851 GB, free: 21.98 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1328/0.1341, allocations: 80.93 MB / 0.6642 GB, free: 6.297 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.002034/0.1362, allocations: 0.6763 MB / 0.6648 GB, free: 5.625 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001426/0.1376, allocations: 1.097 MB / 0.6659 GB, free: 4.512 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.976e-05/0.1377, allocations: 0 / 0.6659 GB, free: 4.512 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.176e-05/0.1377, allocations: 0 / 0.6659 GB, free: 4.512 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.531e-05/0.1378, allocations: 3.938 kB / 0.6659 GB, free: 4.508 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001874/0.138, allocations: 15.97 kB / 0.6659 GB, free: 4.492 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.207e-05/0.138, allocations: 15.98 kB / 0.6659 GB, free: 4.477 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001096/0.1382, allocations: 8 kB / 0.6659 GB, free: 4.469 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.913e-05/0.1383, allocations: 15.92 kB / 0.666 GB, free: 4.453 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.829e-05/0.1383, allocations: 12 kB / 0.666 GB, free: 4.441 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.85e-05/0.1384, allocations: 3.938 kB / 0.666 GB, free: 4.438 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.926e-06/0.1384, allocations: 0 / 0.666 GB, free: 4.438 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.549e-05/0.1384, allocations: 7.984 kB / 0.666 GB, free: 4.43 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.711e-05/0.1385, allocations: 7.984 kB / 0.666 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 9.431e-05/0.1386, allocations: 16.14 kB / 0.666 GB, free: 4.406 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.1386, allocations: 3.938 kB / 0.666 GB, free: 4.402 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.583e-06/0.1386, allocations: 0 / 0.666 GB, free: 4.402 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.61e-06/0.1386, allocations: 0 / 0.666 GB, free: 4.402 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.0004377/0.139, allocations: 327.6 kB / 0.6663 GB, free: 4.035 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.557e-05/0.1391, allocations: 9.109 kB / 0.6663 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.88e-05/0.1391, allocations: 34.73 kB / 0.6664 GB, free: 3.984 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.721e-05/0.1392, allocations: 4.938 kB / 0.6664 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001143/0.1393, allocations: 164.3 kB / 0.6665 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.334e-05/0.1393, allocations: 4.375 kB / 0.6665 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.092e-05/0.1393, allocations: 4.359 kB / 0.6665 GB, free: 3.773 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001189/0.1395, allocations: 45.81 kB / 0.6666 GB, free: 3.723 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.1395, allocations: 0 / 0.6666 GB, free: 3.723 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.003e-05/0.1395, allocations: 4 kB / 0.6666 GB, free: 3.719 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.1395, allocations: 0 / 0.6666 GB, free: 3.719 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.809e-05/0.1395, allocations: 15.98 kB / 0.6666 GB, free: 3.703 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000352/0.1399, allocations: 248.9 kB / 0.6668 GB, free: 3.41 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001733/0.1401, allocations: 46.5 kB / 0.6669 GB, free: 3.355 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.448e-05/0.1401, allocations: 16.92 kB / 0.6669 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.534e-05/0.1402, allocations: 3.984 kB / 0.6669 GB, free: 3.332 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.477e-05/0.1402, allocations: 34.56 kB / 0.6669 GB, free: 3.289 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.272e-06/0.1402, allocations: 0 / 0.6669 GB, free: 3.289 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.000201/0.1404, allocations: 57.58 kB / 0.667 GB, free: 3.227 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.319e-05/0.1404, allocations: 51.41 kB / 0.667 GB, free: 3.164 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.947e-05/0.1405, allocations: 89.86 kB / 0.6671 GB, free: 3.066 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.379e-05/0.1405, allocations: 25.7 kB / 0.6671 GB, free: 3.035 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.461e-05/0.1405, allocations: 92.08 kB / 0.6672 GB, free: 2.941 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.995e-05/0.1406, allocations: 7.938 kB / 0.6672 GB, free: 2.934 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.271e-05/0.1406, allocations: 21.7 kB / 0.6673 GB, free: 2.906 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001072/0.1407, allocations: 310.8 kB / 0.6676 GB, free: 2.594 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.991e-05/0.1407, allocations: 8 kB / 0.6676 GB, free: 2.586 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.462e-05/0.1408, allocations: 3.984 kB / 0.6676 GB, free: 2.582 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.61e-05/0.1408, allocations: 20.8 kB / 0.6676 GB, free: 2.559 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.1408, allocations: 3.938 kB / 0.6676 GB, free: 2.555 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.451e-05/0.1409, allocations: 53.62 kB / 0.6676 GB, free: 2.496 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.1409, allocations: 12 kB / 0.6677 GB, free: 2.484 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.1409, allocations: 0 / 0.6677 GB, free: 2.484 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.141, allocations: 0 / 0.6677 GB, free: 2.484 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.768e-05/0.141, allocations: 7.984 kB / 0.6677 GB, free: 2.477 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.141, allocations: 3.984 kB / 0.6677 GB, free: 2.473 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.287e-05/0.1411, allocations: 0 / 0.6677 GB, free: 2.473 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.389e-06/0.1411, allocations: 0 / 0.6677 GB, free: 2.473 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 7.609e-05/0.1411, allocations: 115.1 kB / 0.6678 GB, free: 2.352 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.405e-05/0.1412, allocations: 7.891 kB / 0.6678 GB, free: 2.344 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001497/0.1413, allocations: 77.17 kB / 0.6679 GB, free: 2.254 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.1413, allocations: 336 / 0.6679 GB, free: 2.254 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.183e-06/0.1414, allocations: 0 / 0.6679 GB, free: 2.254 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.1414, allocations: 3.938 kB / 0.6679 GB, free: 2.25 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001771/0.1415, allocations: 169.6 kB / 0.668 GB, free: 2.035 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.1416, allocations: 0 / 0.668 GB, free: 2.035 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.144e-05/0.1416, allocations: 8 kB / 0.668 GB, free: 2.027 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.1416, allocations: 0 / 0.668 GB, free: 2.027 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.023e-05/0.1416, allocations: 8 kB / 0.668 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.1416, allocations: 0 / 0.668 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1416, allocations: 4 kB / 0.668 GB, free: 2.016 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001418/0.1418, allocations: 159.5 kB / 0.6682 GB, free: 1.844 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.477e-05/0.1418, allocations: 81.05 kB / 0.6683 GB, free: 1.746 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.632e-05/0.1419, allocations: 7.984 kB / 0.6683 GB, free: 1.738 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.744e-05/0.1419, allocations: 0 / 0.6683 GB, free: 1.738 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.626e-05/0.1419, allocations: 0 / 0.6683 GB, free: 1.738 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.684e-06/0.1419, allocations: 8 kB / 0.6683 GB, free: 1.73 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.65e-05/0.142, allocations: 83.22 kB / 0.6684 GB, free: 1.648 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.142, allocations: 0 / 0.6684 GB, free: 1.648 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002159/0.1422, allocations: 4 kB / 0.6684 GB, free: 1.645 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.0004395/0.1427, allocations: 0.6968 MB / 0.6691 GB, free: 0.918 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 9.871e-05/0.1428, allocations: 19.94 kB / 0.6691 GB, free: 0.8984 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/0.1428, allocations: 4 kB / 0.6691 GB, free: 0.8945 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.064e-05/0.1428, allocations: 19.98 kB / 0.6691 GB, free: 0.875 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002078/0.143, allocations: 10.06 kB / 0.6691 GB, free: 0.8672 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004014/0.1434, allocations: 139 kB / 0.6692 GB, free: 0.6914 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002678/0.1437, allocations: 0.6807 MB / 0.6699 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.887e-05/0.1437, allocations: 0 / 0.6699 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.361e-05/0.1438, allocations: 19.42 kB / 0.6699 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of SimCode: time 2.31e-07/0.1438, allocations: 0 / 0.6699 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01587/0.1597, allocations: 1.2 MB / 0.6711 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.124/7.284, allocations: 3.188 kB / 0.6711 GB, free: 14.9 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)