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: translateModel(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime") translateModel(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009098/0.0009098, allocations: 99.7 kB / 15.05 MB, free: 1.105 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.001016/0.001016, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.267/1.267, allocations: 223.2 MB / 239.9 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8713/0.8713, allocations: 135.2 MB / 426.2 MB, free: 14.29 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002722/0.0002723, allocations: 8.5 kB / 0.5068 GB, free: 5.238 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1391/0.1394, allocations: 82.31 MB / 0.5872 GB, free: 3.113 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.001415/0.1409, allocations: 1.143 MB / 0.5883 GB, free: 1.961 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003359/0.1412, allocations: 163.5 kB / 0.5885 GB, free: 1.801 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.103e-05/0.1413, allocations: 0 / 0.5885 GB, free: 1.801 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.124e-05/0.1413, allocations: 0 / 0.5885 GB, free: 1.801 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001991/0.1415, allocations: 15.92 kB / 0.5885 GB, free: 1.785 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000187/0.1417, allocations: 58.92 kB / 0.5885 GB, free: 1.73 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.525e-05/0.1418, allocations: 23.97 kB / 0.5886 GB, free: 1.707 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.986e-05/0.1419, allocations: 7.984 kB / 0.5886 GB, free: 1.699 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.175e-05/0.1419, allocations: 19.92 kB / 0.5886 GB, free: 1.68 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.874e-05/0.142, allocations: 19.98 kB / 0.5886 GB, free: 1.66 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.383e-05/0.142, allocations: 0 / 0.5886 GB, free: 1.66 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.384e-05/0.142, allocations: 4 kB / 0.5886 GB, free: 1.656 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.991e-05/0.1421, allocations: 11.91 kB / 0.5886 GB, free: 1.645 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.255e-05/0.1421, allocations: 33.7 kB / 0.5887 GB, free: 1.605 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 6.104e-05/0.1422, allocations: 28.22 kB / 0.5887 GB, free: 1.578 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.337e-06/0.1422, allocations: 0 / 0.5887 GB, free: 1.578 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1422, allocations: 0 / 0.5887 GB, free: 1.578 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.278e-06/0.1422, allocations: 0 / 0.5887 GB, free: 1.578 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.0004566/0.1427, allocations: 339.3 kB / 0.589 GB, free: 1.199 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.913e-05/0.1427, allocations: 8.031 kB / 0.589 GB, free: 1.191 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.552e-05/0.1427, allocations: 4 kB / 0.589 GB, free: 1.188 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001151/0.1429, allocations: 175 kB / 0.5892 GB, free: 0.9766 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.542e-05/0.1429, allocations: 4 kB / 0.5892 GB, free: 0.9727 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.966e-06/0.1429, allocations: 0 / 0.5892 GB, free: 0.9727 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001171/0.143, allocations: 72.19 kB / 0.5893 GB, free: 0.8867 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.913e-06/0.143, allocations: 4 kB / 0.5893 GB, free: 0.8828 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.248e-05/0.1431, allocations: 3.938 kB / 0.5893 GB, free: 0.8789 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.1431, allocations: 0 / 0.5893 GB, free: 0.8789 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.443e-05/0.1431, allocations: 15.98 kB / 0.5893 GB, free: 0.8633 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003369/0.1435, allocations: 268.8 kB / 0.5895 GB, free: 0.5508 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.506e-05/0.1436, allocations: 46.48 kB / 0.5896 GB, free: 0.4961 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.823e-06/0.1436, allocations: 8 kB / 0.5896 GB, free: 500 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001256/0.1437, allocations: 55.48 kB / 0.5896 GB, free: 432 kB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.1437, allocations: 0 / 0.5896 GB, free: 432 kB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001761/0.1439, allocations: 69.69 kB / 0.5897 GB, free: 356 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.058e-05/0.144, allocations: 110.7 kB / 0.5898 GB, free: 220 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.31e-05/0.144, allocations: 109.9 kB / 0.5899 GB, free: 100 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.518e-05/0.1441, allocations: 25.7 kB / 0.5899 GB, free: 68 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.367e-05/0.1441, allocations: 84.14 kB / 0.59 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.975e-05/0.1441, allocations: 19.8 kB / 0.59 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.567e-06/0.1442, allocations: 0 / 0.59 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.295e-05/0.1443, allocations: 314.8 kB / 0.5903 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.549e-05/0.1443, allocations: 12 kB / 0.5904 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.128e-05/0.1443, allocations: 30.56 kB / 0.5904 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.788e-05/0.1444, allocations: 12 kB / 0.5904 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.1444, allocations: 4.031 kB / 0.5904 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.637e-05/0.1445, allocations: 65.56 kB / 0.5905 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.069e-05/0.1445, allocations: 4 kB / 0.5905 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.267e-06/0.1445, allocations: 0 / 0.5905 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.608e-06/0.1445, allocations: 0 / 0.5905 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.998e-05/0.1446, allocations: 11.98 kB / 0.5905 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.917e-06/0.1446, allocations: 0 / 0.5905 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.736e-05/0.1447, allocations: 8 kB / 0.5905 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.516e-06/0.1447, allocations: 3.984 kB / 0.5905 GB, free: 15.48 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 ($whenCondition1,$PRE.conTim.tNext,conTim.tNext) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.482e-05/0.1448, allocations: 121.8 kB / 0.5906 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.448e-05/0.1448, allocations: 4 kB / 0.5906 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.885e-05/0.1448, allocations: 7.5 kB / 0.5906 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.1448, allocations: 0 / 0.5906 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.1448, allocations: 0 / 0.5906 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.1449, allocations: 0 / 0.5906 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001177/0.145, allocations: 177.5 kB / 0.5908 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.123e-06/0.145, allocations: 3.938 kB / 0.5908 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.205e-05/0.145, allocations: 4 kB / 0.5908 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.145, allocations: 4 kB / 0.5908 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.582e-06/0.145, allocations: 0 / 0.5908 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.145, allocations: 0 / 0.5908 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.145, allocations: 0 / 0.5908 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001186/0.1452, allocations: 97 kB / 0.5909 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.059e-05/0.1452, allocations: 89.09 kB / 0.591 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.852e-05/0.1452, allocations: 448 / 0.591 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001056/0.1454, allocations: 17.86 kB / 0.591 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.762e-05/0.1454, allocations: 0 / 0.591 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.102e-05/0.1454, allocations: 8 kB / 0.591 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.285e-05/0.1455, allocations: 87.27 kB / 0.5911 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2e-07/0.1455, allocations: 0 / 0.5911 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001754/0.1456, allocations: 8 kB / 0.5911 GB, free: 14.77 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.999e-05/0.1457, allocations: 107.2 kB / 0.5912 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 9.874e-05/0.1458, allocations: 31.92 kB / 0.5912 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.1459, allocations: 4 kB / 0.5912 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.473e-05/0.1459, allocations: 16 kB / 0.5912 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.12e-05/0.146, allocations: 7.938 kB / 0.5913 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002227/0.1462, allocations: 123.1 kB / 0.5914 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002/0.1464, allocations: 0.6809 MB / 0.592 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.235e-05/0.1465, allocations: 15.92 kB / 0.5921 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.195e-05/0.1465, allocations: 11.44 kB / 0.5921 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of SimCode: time 2.11e-07/0.1465, allocations: 0 / 0.5921 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of Templates: time 0.002436/0.1489, allocations: 0.7722 MB / 0.5928 GB, free: 12.96 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.makefile Environment - environmentSimulation: (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 & ./IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe 2>&1) Environment - environmentSimulation: