Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.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.ConvertTime,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime",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.004596/0.004596, allocations: 100.4 kB / 15.73 MB, free: 6.012 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.00128/0.00128, allocations: 191.9 kB / 16.67 MB, free: 5.934 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.394/1.394, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8456/0.8456, allocations: 135.6 MB / 426.1 MB, free: 3.707 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001897/0.001897, allocations: 69.08 kB / 0.5857 GB, free: 21.61 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1334/0.1353, allocations: 81.03 MB / 0.6649 GB, free: 5.641 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.002441/0.1378, allocations: 1.426 MB / 0.6663 GB, free: 4.207 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004009/0.1382, allocations: 187.4 kB / 0.6664 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.715e-05/0.1383, allocations: 4 kB / 0.6665 GB, free: 4.02 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.062e-05/0.1383, allocations: 0 / 0.6665 GB, free: 4.02 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001859/0.1385, allocations: 23.84 kB / 0.6665 GB, free: 3.996 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001735/0.1387, allocations: 54.48 kB / 0.6665 GB, free: 3.945 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.448e-05/0.1388, allocations: 51.91 kB / 0.6666 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.801e-05/0.1389, allocations: 4 kB / 0.6666 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.338e-05/0.1389, allocations: 27.91 kB / 0.6666 GB, free: 3.863 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.88e-05/0.139, allocations: 23.86 kB / 0.6666 GB, free: 3.84 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.146e-05/0.139, allocations: 4 kB / 0.6666 GB, free: 3.836 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.84e-05/0.139, allocations: 4 kB / 0.6666 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.282e-05/0.1391, allocations: 7.984 kB / 0.6666 GB, free: 3.824 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.335e-05/0.1391, allocations: 23.92 kB / 0.6667 GB, free: 3.801 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 9.198e-05/0.1392, allocations: 44.09 kB / 0.6667 GB, free: 3.758 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.836e-06/0.1392, allocations: 0 / 0.6667 GB, free: 3.758 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.122e-06/0.1392, allocations: 0 / 0.6667 GB, free: 3.758 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.068e-06/0.1392, allocations: 3.938 kB / 0.6667 GB, free: 3.754 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.0005011/0.1397, allocations: 347.4 kB / 0.667 GB, free: 3.363 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.797e-05/0.1398, allocations: 13.09 kB / 0.6671 GB, free: 3.352 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.73e-05/0.1398, allocations: 34.75 kB / 0.6671 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.556e-05/0.1399, allocations: 4.938 kB / 0.6671 GB, free: 3.305 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001316/0.14, allocations: 172.3 kB / 0.6673 GB, free: 3.098 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.324e-05/0.14, allocations: 4.359 kB / 0.6673 GB, free: 3.094 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.738e-06/0.14, allocations: 384 / 0.6673 GB, free: 3.094 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001376/0.1402, allocations: 76.75 kB / 0.6673 GB, free: 3.004 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.1402, allocations: 3.938 kB / 0.6673 GB, free: 3 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.008e-05/0.1402, allocations: 0 / 0.6673 GB, free: 3 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.577e-06/0.1402, allocations: 4 kB / 0.6673 GB, free: 2.996 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.025e-05/0.1403, allocations: 15.98 kB / 0.6674 GB, free: 2.98 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003753/0.1407, allocations: 257 kB / 0.6676 GB, free: 2.68 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001032/0.1408, allocations: 50.44 kB / 0.6677 GB, free: 2.621 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.465e-05/0.1408, allocations: 16.86 kB / 0.6677 GB, free: 2.602 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.476e-06/0.1408, allocations: 0 / 0.6677 GB, free: 2.602 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001394/0.141, allocations: 59.48 kB / 0.6677 GB, free: 2.531 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.283e-06/0.141, allocations: 0 / 0.6677 GB, free: 2.531 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0001978/0.1412, allocations: 73.61 kB / 0.6678 GB, free: 2.453 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.112e-05/0.1413, allocations: 110.8 kB / 0.6679 GB, free: 2.32 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.692e-05/0.1414, allocations: 117.8 kB / 0.668 GB, free: 2.195 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.281e-05/0.1414, allocations: 25.7 kB / 0.668 GB, free: 2.164 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.665e-05/0.1414, allocations: 84.09 kB / 0.6681 GB, free: 2.078 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.908e-05/0.1415, allocations: 11.95 kB / 0.6681 GB, free: 2.066 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.67e-05/0.1415, allocations: 21.7 kB / 0.6682 GB, free: 2.039 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001243/0.1416, allocations: 310.8 kB / 0.6684 GB, free: 1.727 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.564e-05/0.1417, allocations: 15.98 kB / 0.6685 GB, free: 1.711 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.609e-05/0.1417, allocations: 30.58 kB / 0.6685 GB, free: 1.672 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.644e-05/0.1418, allocations: 32.78 kB / 0.6685 GB, free: 1.637 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.1418, allocations: 0 / 0.6685 GB, free: 1.637 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001093/0.1419, allocations: 69.58 kB / 0.6686 GB, free: 1.562 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/0.1419, allocations: 4 kB / 0.6686 GB, free: 1.559 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.376e-06/0.142, allocations: 0 / 0.6686 GB, free: 1.559 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.618e-06/0.142, allocations: 0 / 0.6686 GB, free: 1.559 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.336e-05/0.142, allocations: 8 kB / 0.6686 GB, free: 1.551 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.057e-06/0.142, allocations: 0 / 0.6686 GB, free: 1.551 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001098/0.1422, allocations: 11.92 kB / 0.6686 GB, free: 1.539 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.642e-06/0.1422, allocations: 4.031 kB / 0.6686 GB, free: 1.535 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: 3 (conTim.tNext,$PRE.conTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 9.343e-05/0.1423, allocations: 117.8 kB / 0.6687 GB, free: 1.41 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.536e-05/0.1423, allocations: 4 kB / 0.6687 GB, free: 1.406 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.323e-05/0.1423, allocations: 11.48 kB / 0.6687 GB, free: 1.387 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-06/0.1423, allocations: 3.938 kB / 0.6687 GB, free: 1.383 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.946e-06/0.1423, allocations: 0 / 0.6687 GB, free: 1.383 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.1424, allocations: 4 kB / 0.6688 GB, free: 1.379 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001349/0.1425, allocations: 161.6 kB / 0.6689 GB, free: 1.172 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.1425, allocations: 448 / 0.6689 GB, free: 1.172 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.648e-05/0.1425, allocations: 12.12 kB / 0.6689 GB, free: 1.16 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.1425, allocations: 3.984 kB / 0.6689 GB, free: 1.156 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.398e-06/0.1426, allocations: 4 kB / 0.6689 GB, free: 1.152 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.1426, allocations: 4 kB / 0.6689 GB, free: 1.148 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.1426, allocations: 3.984 kB / 0.6689 GB, free: 1.145 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001376/0.1427, allocations: 89.02 kB / 0.669 GB, free: 1.039 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.955e-05/0.1428, allocations: 89.09 kB / 0.6691 GB, free: 0.9336 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.967e-05/0.1428, allocations: 0 / 0.6691 GB, free: 0.9336 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001048/0.1429, allocations: 14.8 kB / 0.6691 GB, free: 0.9219 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.1e-05/0.143, allocations: 7.984 kB / 0.6691 GB, free: 0.9141 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.267e-06/0.143, allocations: 3.938 kB / 0.6691 GB, free: 0.9102 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.274e-05/0.143, allocations: 87.28 kB / 0.6692 GB, free: 0.8242 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.143, allocations: 0 / 0.6692 GB, free: 0.8242 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001921/0.1432, allocations: 8 kB / 0.6692 GB, free: 0.8164 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: 2 ($whenCondition1,conTim.tNext) * Number of discrete states: 1 (conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0004738/0.1437, allocations: 0.6319 MB / 0.6698 GB, free: 156 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001116/0.1438, allocations: 31.98 kB / 0.6699 GB, free: 124 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.1439, allocations: 0 / 0.6699 GB, free: 124 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.349e-05/0.1439, allocations: 19.92 kB / 0.6699 GB, free: 104 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001444/0.1441, allocations: 5.562 kB / 0.6699 GB, free: 100 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001094/0.1452, allocations: 1.176 MB / 0.671 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002764/0.1454, allocations: 0.6768 MB / 0.6717 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.489e-05/0.1455, allocations: 8 kB / 0.6717 GB, free: 14.13 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.285e-05/0.1455, allocations: 19.52 kB / 0.6717 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of SimCode: time 2.8e-07/0.1455, allocations: 3.938 kB / 0.6717 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02097/0.1665, allocations: 1.746 MB / 0.6734 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.773/7.939, allocations: 14.86 kB / 0.6734 GB, free: 12.49 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime_res.csv --start-time 0 --stop-time 7.776e+07 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 31104 IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime.fmu > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe 2>&1)