Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.conf.json 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/IDEAS 3.0.0/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) Running command: translateModel(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart") translateModel(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001234/0.00124, allocations: 180.6 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8168/0.8168, allocations: 132.2 MB / 148.9 MB, free: 12.16 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.35/1.35, allocations: 222.9 MB / 403.4 MB, free: 7.082 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009535/0.0009536, allocations: 102.6 kB / 484.4 MB, free: 8.707 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001471/0.001471, allocations: 55.92 kB / 0.5619 GB, free: 71.04 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1535/0.155, allocations: 80.21 MB / 0.6402 GB, free: 6.766 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.002833/0.1579, allocations: 1.499 MB / 0.6416 GB, free: 5.25 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004809/0.1584, allocations: 196.3 kB / 0.6418 GB, free: 5.059 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.026e-05/0.1584, allocations: 4 kB / 0.6418 GB, free: 5.055 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 3.78e-05/0.1585, allocations: 0 / 0.6418 GB, free: 5.055 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002415/0.1587, allocations: 7.938 kB / 0.6418 GB, free: 5.047 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002217/0.159, allocations: 53.17 kB / 0.6419 GB, free: 4.996 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 9.765e-05/0.1591, allocations: 51.86 kB / 0.6419 GB, free: 4.945 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001057/0.1592, allocations: 11.97 kB / 0.642 GB, free: 4.934 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.479e-05/0.1593, allocations: 15.94 kB / 0.642 GB, free: 4.918 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.978e-05/0.1594, allocations: 19.97 kB / 0.642 GB, free: 4.898 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.246e-05/0.1594, allocations: 0 / 0.642 GB, free: 4.898 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.936e-05/0.1594, allocations: 4 kB / 0.642 GB, free: 4.895 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 3.021e-05/0.1595, allocations: 11.92 kB / 0.642 GB, free: 4.883 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 4.594e-05/0.1595, allocations: 15.92 kB / 0.642 GB, free: 4.867 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 9.813e-05/0.1596, allocations: 40.2 kB / 0.6421 GB, free: 4.828 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.1596, allocations: 7.938 kB / 0.6421 GB, free: 4.82 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1596, allocations: 0 / 0.6421 GB, free: 4.82 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.436e-06/0.1596, allocations: 0 / 0.6421 GB, free: 4.82 MB / 442.7 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.0005698/0.1602, allocations: 347.4 kB / 0.6424 GB, free: 4.43 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/0.1603, allocations: 11.97 kB / 0.6424 GB, free: 4.418 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.963e-05/0.1603, allocations: 12.84 kB / 0.6424 GB, free: 4.406 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001477/0.1605, allocations: 172.3 kB / 0.6426 GB, free: 4.199 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.234e-05/0.1605, allocations: 384 / 0.6426 GB, free: 4.199 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.598e-05/0.1605, allocations: 4.359 kB / 0.6426 GB, free: 4.195 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001519/0.1607, allocations: 72.81 kB / 0.6427 GB, free: 4.109 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.1607, allocations: 192 / 0.6427 GB, free: 4.109 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.521e-05/0.1607, allocations: 3.938 kB / 0.6427 GB, free: 4.105 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.207e-05/0.1607, allocations: 4 kB / 0.6427 GB, free: 4.102 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.31e-05/0.1608, allocations: 11.94 kB / 0.6427 GB, free: 4.09 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004135/0.1612, allocations: 264.9 kB / 0.6429 GB, free: 3.781 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.115e-05/0.1613, allocations: 42.52 kB / 0.643 GB, free: 3.73 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.874e-05/0.1613, allocations: 20.94 kB / 0.643 GB, free: 3.707 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.123e-05/0.1614, allocations: 0 / 0.643 GB, free: 3.707 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000158/0.1615, allocations: 63.33 kB / 0.6431 GB, free: 3.633 MB / 442.7 MB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.1615, allocations: 0 / 0.6431 GB, free: 3.633 MB / 442.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001965/0.1617, allocations: 77.58 kB / 0.6431 GB, free: 3.551 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.383e-05/0.1618, allocations: 110.8 kB / 0.6432 GB, free: 3.418 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.412e-05/0.1619, allocations: 97.86 kB / 0.6433 GB, free: 3.312 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.659e-05/0.1619, allocations: 29.7 kB / 0.6434 GB, free: 3.277 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.308e-05/0.162, allocations: 88.12 kB / 0.6434 GB, free: 3.188 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.789e-05/0.162, allocations: 7.844 kB / 0.6434 GB, free: 3.18 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.47e-05/0.1621, allocations: 25.7 kB / 0.6435 GB, free: 3.148 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001177/0.1622, allocations: 310.8 kB / 0.6438 GB, free: 2.836 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.199e-05/0.1623, allocations: 16 kB / 0.6438 GB, free: 2.82 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.132e-05/0.1623, allocations: 38.5 kB / 0.6438 GB, free: 2.773 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.291e-05/0.1624, allocations: 24.86 kB / 0.6438 GB, free: 2.746 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.1624, allocations: 3.938 kB / 0.6438 GB, free: 2.742 MB / 442.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.862e-05/0.1625, allocations: 61.59 kB / 0.6439 GB, free: 2.676 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.1625, allocations: 5.562 kB / 0.6439 GB, free: 2.672 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.1625, allocations: 448 / 0.6439 GB, free: 2.672 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.1625, allocations: 3.938 kB / 0.6439 GB, free: 2.668 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.089e-05/0.1626, allocations: 11.98 kB / 0.6439 GB, free: 2.656 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.1626, allocations: 7.969 kB / 0.6439 GB, free: 2.648 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001036/0.1627, allocations: 11.98 kB / 0.6439 GB, free: 2.637 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.005e-05/0.1628, allocations: 0 / 0.6439 GB, free: 2.637 MB / 442.7 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.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.478e-05/0.1629, allocations: 119.1 kB / 0.6441 GB, free: 2.512 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.654e-05/0.1629, allocations: 4 kB / 0.6441 GB, free: 2.508 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.396e-05/0.1629, allocations: 7.5 kB / 0.6441 GB, free: 2.496 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.1629, allocations: 0 / 0.6441 GB, free: 2.496 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.1629, allocations: 0 / 0.6441 GB, free: 2.496 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.1629, allocations: 4 kB / 0.6441 GB, free: 2.492 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001328/0.1631, allocations: 169.6 kB / 0.6442 GB, free: 2.277 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.1631, allocations: 0 / 0.6442 GB, free: 2.277 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.324e-05/0.1631, allocations: 4 kB / 0.6442 GB, free: 2.273 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.1631, allocations: 0 / 0.6442 GB, free: 2.273 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.271e-05/0.1631, allocations: 4 kB / 0.6442 GB, free: 2.27 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.1631, allocations: 4 kB / 0.6442 GB, free: 2.266 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.1631, allocations: 192 / 0.6442 GB, free: 2.266 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003956/0.1635, allocations: 0.6551 MB / 0.6449 GB, free: 1.551 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.587e-05/0.1636, allocations: 85.09 kB / 0.645 GB, free: 1.449 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.908e-05/0.1636, allocations: 0 / 0.645 GB, free: 1.449 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.836e-05/0.1637, allocations: 11.98 kB / 0.645 GB, free: 1.438 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.494e-05/0.1638, allocations: 7.938 kB / 0.645 GB, free: 1.43 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.031e-05/0.1638, allocations: 0 / 0.645 GB, free: 1.43 MB / 442.7 MB Notification: Performance of sorting global known variables: time 4.699e-05/0.1639, allocations: 91.27 kB / 0.6451 GB, free: 1.34 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1639, allocations: 0 / 0.6451 GB, free: 1.34 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002796/0.1641, allocations: 12 kB / 0.6451 GB, free: 1.328 MB / 442.7 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.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.0001156/0.1643, allocations: 107.1 kB / 0.6452 GB, free: 1.215 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001052/0.1644, allocations: 27.98 kB / 0.6452 GB, free: 1.188 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.1644, allocations: 0 / 0.6452 GB, free: 1.188 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 4.36e-05/0.1644, allocations: 19.98 kB / 0.6452 GB, free: 1.168 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001561/0.1646, allocations: 9.656 kB / 0.6452 GB, free: 1.16 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003887/0.165, allocations: 242 kB / 0.6455 GB, free: 0.8828 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002247/0.1652, allocations: 0.6809 MB / 0.6461 GB, free: 180 kB / 442.7 MB Notification: Performance of simCode: alias equations: time 3.249e-05/0.1653, allocations: 4 kB / 0.6461 GB, free: 176 kB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.378e-05/0.1653, allocations: 11.44 kB / 0.6462 GB, free: 168 kB / 442.7 MB Notification: Performance of SimCode: time 2e-07/0.1653, allocations: 0 / 0.6462 GB, free: 168 kB / 442.7 MB Notification: Performance of Templates: time 0.002754/0.1681, allocations: 0.844 MB / 0.647 GB, free: 15.33 MB / 458.7 MB make -j1 -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.makefile (rm -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.sim & ./IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe 2>&1)