Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime") translateModel(Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.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.01033/0.01033, allocations: 102.4 kB / 15.73 MB, free: 6.008 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.001849/0.001849, allocations: 198.5 kB / 16.68 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.547/1.547, allocations: 205.1 MB / 222.5 MB, free: 4.477 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4136/0.4136, allocations: 54.95 MB / 324.9 MB, free: 15.99 MB / 270.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001482/0.001482, allocations: 70.58 kB / 456.2 MB, free: 38.34 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1445/0.1459, allocations: 59.6 MB / 0.5037 GB, free: 9.742 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.003441/0.1495, allocations: 1.378 MB / 0.5051 GB, free: 8.664 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002405/0.1497, allocations: 31.61 kB / 0.5051 GB, free: 8.641 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.397e-05/0.1498, allocations: 0 / 0.5051 GB, free: 8.641 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 4.034e-05/0.1498, allocations: 5.562 kB / 0.5051 GB, free: 8.637 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 8.153e-05/0.1499, allocations: 0 / 0.5051 GB, free: 8.637 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002111/0.1501, allocations: 14.67 kB / 0.5051 GB, free: 8.625 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 8.316e-05/0.1502, allocations: 22.08 kB / 0.5051 GB, free: 8.613 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001205/0.1504, allocations: 14.78 kB / 0.5052 GB, free: 8.602 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.757e-05/0.1504, allocations: 3.812 kB / 0.5052 GB, free: 8.602 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.559e-05/0.1505, allocations: 14.64 kB / 0.5052 GB, free: 8.59 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.348e-05/0.1505, allocations: 6.422 kB / 0.5052 GB, free: 8.586 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.111e-05/0.1506, allocations: 1.719 kB / 0.5052 GB, free: 8.586 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.904e-05/0.1506, allocations: 1.312 kB / 0.5052 GB, free: 8.586 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.475e-05/0.1506, allocations: 14.17 kB / 0.5052 GB, free: 8.574 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 8.199e-05/0.1507, allocations: 13.02 kB / 0.5052 GB, free: 8.566 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.461e-06/0.1507, allocations: 1.219 kB / 0.5052 GB, free: 8.566 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1507, allocations: 0 / 0.5052 GB, free: 8.566 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.192e-06/0.1508, allocations: 4 kB / 0.5052 GB, free: 8.562 MB / 382.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.0004994/0.1513, allocations: 326.9 kB / 0.5055 GB, free: 8.207 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/0.1513, allocations: 9.219 kB / 0.5055 GB, free: 8.207 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.328e-05/0.1514, allocations: 6.25 kB / 0.5055 GB, free: 8.203 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.591e-05/0.1514, allocations: 165.4 kB / 0.5057 GB, free: 8.004 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.354e-05/0.1515, allocations: 5.531 kB / 0.5057 GB, free: 8 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.089e-05/0.1515, allocations: 1.719 kB / 0.5057 GB, free: 8 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001187/0.1516, allocations: 52.27 kB / 0.5058 GB, free: 7.949 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.1516, allocations: 4 kB / 0.5058 GB, free: 7.945 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.1517, allocations: 0 / 0.5058 GB, free: 7.945 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.1517, allocations: 1.125 kB / 0.5058 GB, free: 7.945 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.27e-05/0.1517, allocations: 9.562 kB / 0.5058 GB, free: 7.941 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004186/0.1522, allocations: 259.8 kB / 0.506 GB, free: 7.648 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.291e-05/0.1523, allocations: 36.64 kB / 0.506 GB, free: 7.613 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.346e-05/0.1523, allocations: 25.03 kB / 0.5061 GB, free: 7.594 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.481e-05/0.1523, allocations: 0 / 0.5061 GB, free: 7.594 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001808/0.1525, allocations: 53.06 kB / 0.5061 GB, free: 7.539 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 2.033e-06/0.1525, allocations: 3.984 kB / 0.5061 GB, free: 7.535 MB / 382.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002233/0.1528, allocations: 66.33 kB / 0.5062 GB, free: 7.484 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.727e-05/0.1528, allocations: 52.53 kB / 0.5062 GB, free: 7.422 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.481e-05/0.1529, allocations: 100.2 kB / 0.5063 GB, free: 7.316 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.082e-05/0.1529, allocations: 25.7 kB / 0.5064 GB, free: 7.285 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.139e-05/0.1529, allocations: 85.22 kB / 0.5064 GB, free: 7.199 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.66e-05/0.153, allocations: 13.98 kB / 0.5065 GB, free: 7.188 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.744e-05/0.153, allocations: 16.69 kB / 0.5065 GB, free: 7.168 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.476e-05/0.1531, allocations: 316 kB / 0.5068 GB, free: 6.852 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.907e-05/0.1531, allocations: 9.125 kB / 0.5068 GB, free: 6.848 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.44e-05/0.1532, allocations: 12.67 kB / 0.5068 GB, free: 6.84 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.772e-05/0.1532, allocations: 23.67 kB / 0.5068 GB, free: 6.824 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.1532, allocations: 4 kB / 0.5068 GB, free: 6.82 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.328e-05/0.1533, allocations: 58.06 kB / 0.5069 GB, free: 6.773 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.079e-05/0.1533, allocations: 5.875 kB / 0.5069 GB, free: 6.773 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.1534, allocations: 0 / 0.5069 GB, free: 6.773 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.106e-05/0.1534, allocations: 5.281 kB / 0.5069 GB, free: 6.77 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.417e-05/0.1535, allocations: 3.938 kB / 0.5069 GB, free: 6.77 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.666e-06/0.1535, allocations: 3.984 kB / 0.5069 GB, free: 6.766 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.563e-05/0.1536, allocations: 7.422 kB / 0.5069 GB, free: 6.762 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.815e-06/0.1536, allocations: 0 / 0.5069 GB, free: 6.762 MB / 382.1 MB 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.tStart,$PRE.conTim.tStart,$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 7.187e-05/0.1537, allocations: 120.8 kB / 0.507 GB, free: 6.637 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.169e-05/0.1537, allocations: 1.594 kB / 0.507 GB, free: 6.637 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.099e-05/0.1537, allocations: 3.5 kB / 0.507 GB, free: 6.629 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.1537, allocations: 1.375 kB / 0.507 GB, free: 6.629 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.1537, allocations: 0 / 0.507 GB, free: 6.629 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.1537, allocations: 0 / 0.507 GB, free: 6.629 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.319e-05/0.1538, allocations: 163.2 kB / 0.5072 GB, free: 6.426 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.123e-06/0.1538, allocations: 3.938 kB / 0.5072 GB, free: 6.422 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.215e-05/0.1539, allocations: 4.062 kB / 0.5072 GB, free: 6.422 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.1539, allocations: 3.938 kB / 0.5072 GB, free: 6.418 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.077e-05/0.1539, allocations: 7.938 kB / 0.5072 GB, free: 6.41 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.1539, allocations: 0 / 0.5072 GB, free: 6.41 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.1539, allocations: 1.312 kB / 0.5072 GB, free: 6.41 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001099/0.154, allocations: 86.47 kB / 0.5073 GB, free: 6.324 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.961e-05/0.1541, allocations: 82.47 kB / 0.5074 GB, free: 6.227 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.966e-05/0.1541, allocations: 1.469 kB / 0.5074 GB, free: 6.227 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.648e-05/0.1542, allocations: 3.031 kB / 0.5074 GB, free: 6.227 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.788e-05/0.1542, allocations: 9.234 kB / 0.5074 GB, free: 6.219 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.332e-06/0.1542, allocations: 5.406 kB / 0.5074 GB, free: 6.215 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.775e-05/0.1543, allocations: 75.28 kB / 0.5074 GB, free: 6.141 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1543, allocations: 0.9688 kB / 0.5075 GB, free: 6.141 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002686/0.1545, allocations: 4.625 kB / 0.5075 GB, free: 6.141 MB / 382.1 MB 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.tStart) * Number of discrete states: 1 (conTim.tStart) * 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.0001294/0.1547, allocations: 107.9 kB / 0.5076 GB, free: 6.043 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000124/0.1548, allocations: 27.45 kB / 0.5076 GB, free: 6.031 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1548, allocations: 96 / 0.5076 GB, free: 6.031 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.198e-05/0.1549, allocations: 16.16 kB / 0.5076 GB, free: 6.023 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001916/0.1551, allocations: 5.328 kB / 0.5076 GB, free: 6.02 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003789/0.1555, allocations: 124.2 kB / 0.5077 GB, free: 5.891 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001371/0.1556, allocations: 0.6757 MB / 0.5084 GB, free: 5.191 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.46e-05/0.1556, allocations: 2.781 kB / 0.5084 GB, free: 5.191 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.125e-05/0.1557, allocations: 9.125 kB / 0.5084 GB, free: 5.184 MB / 382.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1557, allocations: 0 / 0.5084 GB, free: 5.184 MB / 382.1 MB Notification: Performance of Templates: time 0.003503/0.1592, allocations: 395.9 kB / 0.5088 GB, free: 4.973 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.makefile (rm -f Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; mkfifo Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe >> ../files/Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.sim & ./Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe 2>&1)