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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007497/0.007497, allocations: 97.89 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.001293/0.001293, allocations: 196.2 kB / 16.68 MB, free: 5.93 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.326/1.326, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7905/0.7905, allocations: 132.2 MB / 422.7 MB, free: 6.492 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001138/0.001138, allocations: 72.11 kB / 0.5814 GB, free: 23.64 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1752/0.1764, allocations: 80.2 MB / 0.6597 GB, free: 10.22 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.002577/0.179, allocations: 1.44 MB / 0.6611 GB, free: 8.77 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004775/0.1795, allocations: 191.4 kB / 0.6613 GB, free: 8.582 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.748e-05/0.1795, allocations: 0 / 0.6613 GB, free: 8.582 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.264e-05/0.1796, allocations: 3.938 kB / 0.6613 GB, free: 8.578 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002716/0.1799, allocations: 15.86 kB / 0.6613 GB, free: 8.562 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001998/0.1801, allocations: 55.91 kB / 0.6614 GB, free: 8.508 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001113/0.1802, allocations: 47.86 kB / 0.6614 GB, free: 8.461 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001135/0.1803, allocations: 11.98 kB / 0.6614 GB, free: 8.449 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.251e-05/0.1804, allocations: 27.91 kB / 0.6614 GB, free: 8.422 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.869e-05/0.1805, allocations: 19.92 kB / 0.6615 GB, free: 8.402 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.064e-05/0.1805, allocations: 4 kB / 0.6615 GB, free: 8.398 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.562e-05/0.1805, allocations: 4 kB / 0.6615 GB, free: 8.395 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.359e-05/0.1805, allocations: 8 kB / 0.6615 GB, free: 8.387 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.495e-05/0.1806, allocations: 19.91 kB / 0.6615 GB, free: 8.367 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001051/0.1807, allocations: 47.75 kB / 0.6615 GB, free: 8.32 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.1807, allocations: 0 / 0.6615 GB, free: 8.32 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.455e-06/0.1807, allocations: 0 / 0.6615 GB, free: 8.32 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.995e-06/0.1807, allocations: 0 / 0.6615 GB, free: 8.32 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.0005379/0.1813, allocations: 351.4 kB / 0.6619 GB, free: 7.926 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/0.1813, allocations: 8.031 kB / 0.6619 GB, free: 7.918 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.592e-05/0.1814, allocations: 4.938 kB / 0.6619 GB, free: 7.914 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001534/0.1815, allocations: 180.3 kB / 0.6621 GB, free: 7.699 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.247e-05/0.1816, allocations: 384 / 0.6621 GB, free: 7.699 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.406e-06/0.1816, allocations: 384 / 0.6621 GB, free: 7.699 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000138/0.1817, allocations: 68.81 kB / 0.6621 GB, free: 7.617 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.1817, allocations: 192 / 0.6621 GB, free: 7.617 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.477e-05/0.1818, allocations: 7.938 kB / 0.6621 GB, free: 7.609 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.1818, allocations: 4 kB / 0.6621 GB, free: 7.605 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.448e-05/0.1818, allocations: 15.92 kB / 0.6622 GB, free: 7.59 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000411/0.1822, allocations: 264.9 kB / 0.6624 GB, free: 7.281 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001255/0.1824, allocations: 42.5 kB / 0.6624 GB, free: 7.23 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.084e-05/0.1824, allocations: 16.86 kB / 0.6625 GB, free: 7.211 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.166e-06/0.1824, allocations: 4 kB / 0.6625 GB, free: 7.207 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001511/0.1826, allocations: 67.41 kB / 0.6625 GB, free: 7.129 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.1826, allocations: 0 / 0.6625 GB, free: 7.129 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0002261/0.1828, allocations: 77.62 kB / 0.6626 GB, free: 7.047 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.089e-05/0.1829, allocations: 106.8 kB / 0.6627 GB, free: 6.918 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.063e-05/0.183, allocations: 109.8 kB / 0.6628 GB, free: 6.801 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.729e-05/0.183, allocations: 25.7 kB / 0.6628 GB, free: 6.77 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.301e-05/0.1831, allocations: 88.14 kB / 0.6629 GB, free: 6.68 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.137e-05/0.1831, allocations: 7.953 kB / 0.6629 GB, free: 6.672 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.074e-05/0.1832, allocations: 21.7 kB / 0.663 GB, free: 6.645 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001157/0.1833, allocations: 310.8 kB / 0.6632 GB, free: 6.332 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.367e-05/0.1833, allocations: 12 kB / 0.6633 GB, free: 6.32 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.663e-05/0.1834, allocations: 38.5 kB / 0.6633 GB, free: 6.273 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.016e-05/0.1834, allocations: 28.84 kB / 0.6633 GB, free: 6.242 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.584e-06/0.1835, allocations: 7.969 kB / 0.6633 GB, free: 6.234 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.014e-05/0.1835, allocations: 57.66 kB / 0.6634 GB, free: 6.172 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/0.1836, allocations: 4 kB / 0.6634 GB, free: 6.168 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.1836, allocations: 0 / 0.6634 GB, free: 6.168 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.1836, allocations: 3.984 kB / 0.6634 GB, free: 6.164 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.675e-05/0.1837, allocations: 8.438 kB / 0.6634 GB, free: 6.156 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-06/0.1837, allocations: 0 / 0.6634 GB, free: 6.156 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000101/0.1838, allocations: 15.92 kB / 0.6634 GB, free: 6.141 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.367e-06/0.1838, allocations: 0 / 0.6634 GB, free: 6.141 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.538e-05/0.1839, allocations: 126.6 kB / 0.6635 GB, free: 6.008 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.377e-05/0.1839, allocations: 7.938 kB / 0.6635 GB, free: 6 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.357e-05/0.1839, allocations: 7.5 kB / 0.6636 GB, free: 5.984 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-06/0.1839, allocations: 0 / 0.6636 GB, free: 5.984 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.184, allocations: 0 / 0.6636 GB, free: 5.984 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.184, allocations: 3.984 kB / 0.6636 GB, free: 5.98 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001255/0.1841, allocations: 165.6 kB / 0.6637 GB, free: 5.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.1841, allocations: 0 / 0.6637 GB, free: 5.77 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.102e-05/0.1841, allocations: 4 kB / 0.6637 GB, free: 5.766 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.1841, allocations: 0 / 0.6637 GB, free: 5.766 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.498e-06/0.1842, allocations: 8 kB / 0.6637 GB, free: 5.758 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.1842, allocations: 4 kB / 0.6637 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1842, allocations: 0 / 0.6637 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001238/0.1843, allocations: 92.94 kB / 0.6638 GB, free: 5.645 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.98e-05/0.1844, allocations: 89.09 kB / 0.6639 GB, free: 5.539 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.907e-05/0.1844, allocations: 0 / 0.6639 GB, free: 5.539 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.435e-05/0.1845, allocations: 9.859 kB / 0.6639 GB, free: 5.531 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.307e-05/0.1845, allocations: 8 kB / 0.6639 GB, free: 5.523 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.234e-05/0.1845, allocations: 11.92 kB / 0.6639 GB, free: 5.512 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.514e-05/0.1846, allocations: 83.28 kB / 0.664 GB, free: 5.43 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1846, allocations: 0 / 0.664 GB, free: 5.43 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001801/0.1848, allocations: 12 kB / 0.664 GB, free: 5.418 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.0001909/0.185, allocations: 99.25 kB / 0.6641 GB, free: 5.309 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001228/0.1851, allocations: 27.98 kB / 0.6641 GB, free: 5.281 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.1851, allocations: 0 / 0.6641 GB, free: 5.281 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.239e-05/0.1852, allocations: 27.92 kB / 0.6642 GB, free: 5.254 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001459/0.1853, allocations: 5.469 kB / 0.6642 GB, free: 5.25 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003055/0.1856, allocations: 121.4 kB / 0.6643 GB, free: 5.105 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003008/0.1859, allocations: 0.6768 MB / 0.665 GB, free: 4.402 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.792e-05/0.186, allocations: 4.328 kB / 0.665 GB, free: 4.398 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.347e-05/0.1861, allocations: 15.42 kB / 0.665 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.1861, allocations: 0 / 0.665 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of Templates: time 0.003225/0.1893, allocations: 0.8879 MB / 0.6658 GB, free: 3.535 MB / 0.4981 GB 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)