Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime") translateModel(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001339/0.001339, allocations: 108.1 kB / 16.41 MB, free: 6.512 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.001431/0.001431, allocations: 189.5 kB / 17.34 MB, free: 5.742 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.362/1.362, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8172/0.8172, allocations: 132.2 MB / 423.4 MB, free: 6.586 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 60.16 kB / 0.582 GB, free: 23.88 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1566/0.1578, allocations: 80.21 MB / 0.6604 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.00288/0.1607, allocations: 1.428 MB / 0.6617 GB, free: 8.816 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004663/0.1612, allocations: 187.4 kB / 0.6619 GB, free: 8.633 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.855e-05/0.1613, allocations: 8 kB / 0.6619 GB, free: 8.625 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.274e-05/0.1613, allocations: 3.938 kB / 0.6619 GB, free: 8.621 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002997/0.1617, allocations: 19.91 kB / 0.662 GB, free: 8.602 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002115/0.1619, allocations: 51.86 kB / 0.662 GB, free: 8.551 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001115/0.162, allocations: 55.83 kB / 0.6621 GB, free: 8.496 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001019/0.1621, allocations: 8 kB / 0.6621 GB, free: 8.488 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.1e-05/0.1622, allocations: 19.92 kB / 0.6621 GB, free: 8.469 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.505e-05/0.1623, allocations: 19.92 kB / 0.6621 GB, free: 8.449 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.841e-05/0.1623, allocations: 8 kB / 0.6621 GB, free: 8.441 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.736e-05/0.1623, allocations: 4 kB / 0.6621 GB, free: 8.438 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.068e-05/0.1624, allocations: 11.97 kB / 0.6621 GB, free: 8.426 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.064e-05/0.1624, allocations: 23.92 kB / 0.6621 GB, free: 8.402 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001193/0.1625, allocations: 43.81 kB / 0.6622 GB, free: 8.359 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.1625, allocations: 0 / 0.6622 GB, free: 8.359 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.102e-06/0.1625, allocations: 0 / 0.6622 GB, free: 8.359 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.939e-06/0.1626, allocations: 0 / 0.6622 GB, free: 8.359 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.0005694/0.1631, allocations: 343.5 kB / 0.6625 GB, free: 7.973 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.71e-05/0.1632, allocations: 12.03 kB / 0.6625 GB, free: 7.961 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.797e-05/0.1632, allocations: 4.938 kB / 0.6625 GB, free: 7.957 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001536/0.1634, allocations: 164.3 kB / 0.6627 GB, free: 7.758 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.401e-05/0.1634, allocations: 20.23 kB / 0.6627 GB, free: 7.738 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.065e-05/0.1634, allocations: 384 / 0.6627 GB, free: 7.738 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001554/0.1636, allocations: 60.83 kB / 0.6628 GB, free: 7.664 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.1636, allocations: 4.172 kB / 0.6628 GB, free: 7.66 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.735e-05/0.1636, allocations: 3.938 kB / 0.6628 GB, free: 7.656 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.162e-06/0.1637, allocations: 7.984 kB / 0.6628 GB, free: 7.648 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.554e-05/0.1637, allocations: 12 kB / 0.6628 GB, free: 7.637 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004703/0.1642, allocations: 268.8 kB / 0.6631 GB, free: 7.324 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001083/0.1643, allocations: 42.5 kB / 0.6631 GB, free: 7.273 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.901e-05/0.1644, allocations: 16.95 kB / 0.6631 GB, free: 7.254 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.381e-05/0.1644, allocations: 3.984 kB / 0.6631 GB, free: 7.25 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001496/0.1645, allocations: 67.39 kB / 0.6632 GB, free: 7.172 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.302e-06/0.1645, allocations: 0 / 0.6632 GB, free: 7.172 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0002351/0.1648, allocations: 69.62 kB / 0.6632 GB, free: 7.098 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.58e-05/0.1649, allocations: 106.8 kB / 0.6633 GB, free: 6.969 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.086e-05/0.165, allocations: 105.8 kB / 0.6634 GB, free: 6.855 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.048e-05/0.165, allocations: 25.7 kB / 0.6635 GB, free: 6.824 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.844e-05/0.1651, allocations: 88.14 kB / 0.6636 GB, free: 6.734 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.317e-05/0.1651, allocations: 15.8 kB / 0.6636 GB, free: 6.719 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.659e-05/0.1651, allocations: 21.72 kB / 0.6636 GB, free: 6.691 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001122/0.1653, allocations: 318.8 kB / 0.6639 GB, free: 6.371 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.743e-05/0.1653, allocations: 4 kB / 0.6639 GB, free: 6.367 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.272e-05/0.1654, allocations: 38.81 kB / 0.6639 GB, free: 6.32 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.638e-05/0.1654, allocations: 32.92 kB / 0.664 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.1654, allocations: 3.938 kB / 0.664 GB, free: 6.281 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001121/0.1656, allocations: 57.72 kB / 0.664 GB, free: 6.219 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.1656, allocations: 8 kB / 0.664 GB, free: 6.211 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.1656, allocations: 0 / 0.664 GB, free: 6.211 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.1656, allocations: 0 / 0.664 GB, free: 6.211 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.077e-05/0.1657, allocations: 4 kB / 0.664 GB, free: 6.207 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.017e-05/0.1657, allocations: 4 kB / 0.664 GB, free: 6.203 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001097/0.1658, allocations: 11.98 kB / 0.6641 GB, free: 6.191 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.626e-06/0.1658, allocations: 0 / 0.6641 GB, free: 6.191 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 0.0001014/0.1659, allocations: 122.6 kB / 0.6642 GB, free: 6.062 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.144e-05/0.166, allocations: 11.91 kB / 0.6642 GB, free: 6.051 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.289e-05/0.166, allocations: 7.438 kB / 0.6642 GB, free: 6.035 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.166, allocations: 0 / 0.6642 GB, free: 6.035 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.166, allocations: 0 / 0.6642 GB, free: 6.035 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.166, allocations: 0 / 0.6642 GB, free: 6.035 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001425/0.1662, allocations: 181.5 kB / 0.6644 GB, free: 5.809 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.1662, allocations: 0 / 0.6644 GB, free: 5.809 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.379e-05/0.1662, allocations: 4 kB / 0.6644 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.1662, allocations: 3.938 kB / 0.6644 GB, free: 5.801 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.704e-06/0.1662, allocations: 0 / 0.6644 GB, free: 5.801 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.1662, allocations: 4 kB / 0.6644 GB, free: 5.797 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-06/0.1662, allocations: 0 / 0.6644 GB, free: 5.797 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000147/0.1664, allocations: 93.23 kB / 0.6645 GB, free: 5.688 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.461e-05/0.1665, allocations: 85.14 kB / 0.6645 GB, free: 5.586 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.252e-05/0.1665, allocations: 3.984 kB / 0.6645 GB, free: 5.582 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001071/0.1666, allocations: 19.98 kB / 0.6646 GB, free: 5.562 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.49e-05/0.1666, allocations: 4 kB / 0.6646 GB, free: 5.559 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.99e-05/0.1667, allocations: 4 kB / 0.6646 GB, free: 5.555 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.852e-05/0.1667, allocations: 91.2 kB / 0.6647 GB, free: 5.465 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.21e-07/0.1667, allocations: 4 kB / 0.6647 GB, free: 5.461 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001936/0.1669, allocations: 8 kB / 0.6647 GB, free: 5.453 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.0001311/0.1671, allocations: 95.25 kB / 0.6648 GB, free: 5.348 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000133/0.1672, allocations: 31.98 kB / 0.6648 GB, free: 5.316 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.1672, allocations: 0 / 0.6648 GB, free: 5.316 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.885e-05/0.1673, allocations: 12 kB / 0.6648 GB, free: 5.305 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001639/0.1674, allocations: 19.88 kB / 0.6648 GB, free: 5.285 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003313/0.1678, allocations: 154.4 kB / 0.665 GB, free: 5.105 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003413/0.1681, allocations: 0.6807 MB / 0.6656 GB, free: 4.398 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.193e-05/0.1682, allocations: 11.44 kB / 0.6656 GB, free: 4.387 MB / 0.4981 GB Notification: Performance of SimCode: time 1.9e-07/0.1682, allocations: 0 / 0.6656 GB, free: 4.387 MB / 0.4981 GB Notification: Performance of Templates: time 0.002294/0.1705, allocations: 0.7986 MB / 0.6664 GB, free: 3.598 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.makefile (rm -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.sim & ./IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe 2>&1)