Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Time.Examples.ModelTime.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-master/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-master/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.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Time.Examples.ModelTime") translateModel(IDEAS.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Time.Examples.ModelTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001292/0.001292, allocations: 183.4 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-master/package.mo): time 0.7543/0.7543, allocations: 133.3 MB / 150.1 MB, free: 11.18 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.607/1.607, allocations: 222.9 MB / 404.7 MB, free: 6.121 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.00114/0.00114, allocations: 105.9 kB / 485.9 MB, free: 7.289 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001093/0.001094, allocations: 48.11 kB / 0.5636 GB, free: 69.99 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1761/0.1772, allocations: 80.43 MB / 0.6421 GB, free: 5.488 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Examples.ModelTime): time 0.002462/0.1797, allocations: 0.6431 MB / 0.6428 GB, free: 4.84 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 4.228e-05/0.1798, allocations: 0 / 0.6428 GB, free: 4.84 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.058e-05/0.1798, allocations: 4 kB / 0.6428 GB, free: 4.836 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 3.492e-05/0.1799, allocations: 0 / 0.6428 GB, free: 4.836 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 7.184e-06/0.1799, allocations: 0 / 0.6428 GB, free: 4.836 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.809e-05/0.1799, allocations: 0 / 0.6428 GB, free: 4.836 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 5.031e-05/0.18, allocations: 3.938 kB / 0.6428 GB, free: 4.832 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.366e-05/0.1801, allocations: 3.984 kB / 0.6428 GB, free: 4.828 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.824e-05/0.1801, allocations: 4 kB / 0.6428 GB, free: 4.824 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.233e-05/0.1801, allocations: 4 kB / 0.6428 GB, free: 4.82 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 9.879e-06/0.1801, allocations: 0 / 0.6428 GB, free: 4.82 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.018e-06/0.1801, allocations: 4 kB / 0.6428 GB, free: 4.816 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.053e-05/0.1802, allocations: 0 / 0.6428 GB, free: 4.816 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 2.433e-05/0.1802, allocations: 7.984 kB / 0.6428 GB, free: 4.809 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 4.689e-05/0.1802, allocations: 3.938 kB / 0.6428 GB, free: 4.805 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.1803, allocations: 0 / 0.6428 GB, free: 4.805 MB / 442.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.1803, allocations: 0 / 0.6428 GB, free: 4.805 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.147e-06/0.1803, allocations: 0 / 0.6428 GB, free: 4.805 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002852/0.1806, allocations: 307.6 kB / 0.6431 GB, free: 4.453 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.1806, allocations: 8.031 kB / 0.6431 GB, free: 4.445 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.833e-05/0.1806, allocations: 4.922 kB / 0.6431 GB, free: 4.441 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.742e-05/0.1807, allocations: 172.3 kB / 0.6433 GB, free: 4.234 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.586e-06/0.1808, allocations: 384 / 0.6433 GB, free: 4.234 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.079e-05/0.1808, allocations: 384 / 0.6433 GB, free: 4.234 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.962e-05/0.1809, allocations: 30.27 kB / 0.6433 GB, free: 4.199 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.1809, allocations: 192 / 0.6433 GB, free: 4.199 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.909e-06/0.1809, allocations: 3.938 kB / 0.6433 GB, free: 4.195 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.1809, allocations: 4 kB / 0.6433 GB, free: 4.191 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.012e-05/0.181, allocations: 3.938 kB / 0.6433 GB, free: 4.188 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001459/0.1811, allocations: 149.7 kB / 0.6435 GB, free: 3.992 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.024e-05/0.1812, allocations: 18.61 kB / 0.6435 GB, free: 3.965 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.657e-05/0.1812, allocations: 12.84 kB / 0.6435 GB, free: 3.949 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.879e-06/0.1812, allocations: 0 / 0.6435 GB, free: 3.949 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.443e-05/0.1813, allocations: 38.62 kB / 0.6435 GB, free: 3.902 MB / 442.7 MB Notification: Performance of pre-optimization done (n=1): time 9.32e-07/0.1813, allocations: 0 / 0.6435 GB, free: 3.902 MB / 442.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001248/0.1814, allocations: 37.58 kB / 0.6436 GB, free: 3.859 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.455e-05/0.1814, allocations: 55.53 kB / 0.6436 GB, free: 3.793 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.824e-05/0.1815, allocations: 89.86 kB / 0.6437 GB, free: 3.695 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.596e-05/0.1815, allocations: 25.7 kB / 0.6437 GB, free: 3.664 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.834e-05/0.1815, allocations: 80.14 kB / 0.6438 GB, free: 3.582 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.652e-05/0.1816, allocations: 11.89 kB / 0.6438 GB, free: 3.57 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.081e-05/0.1816, allocations: 13.72 kB / 0.6438 GB, free: 3.551 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001211/0.1818, allocations: 310.8 kB / 0.6441 GB, free: 3.238 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.257e-05/0.1818, allocations: 4 kB / 0.6441 GB, free: 3.234 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.875e-06/0.1818, allocations: 8 kB / 0.6441 GB, free: 3.227 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.595e-05/0.1818, allocations: 4.859 kB / 0.6441 GB, free: 3.219 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/0.1818, allocations: 0 / 0.6441 GB, free: 3.219 MB / 442.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.226e-05/0.1819, allocations: 45.58 kB / 0.6442 GB, free: 3.168 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.1819, allocations: 4 kB / 0.6442 GB, free: 3.164 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.1819, allocations: 0 / 0.6442 GB, free: 3.164 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.761e-05/0.182, allocations: 3.938 kB / 0.6442 GB, free: 3.16 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.215e-05/0.182, allocations: 3.984 kB / 0.6442 GB, free: 3.156 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.214e-06/0.182, allocations: 8.094 kB / 0.6442 GB, free: 3.148 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.418e-06/0.1821, allocations: 0 / 0.6442 GB, free: 3.148 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.506e-06/0.1821, allocations: 0 / 0.6442 GB, free: 3.148 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 6.737e-05/0.1821, allocations: 107.2 kB / 0.6443 GB, free: 3.035 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.591e-06/0.1822, allocations: 0 / 0.6443 GB, free: 3.035 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.608e-05/0.1822, allocations: 7.062 kB / 0.6443 GB, free: 3.031 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-06/0.1822, allocations: 4 kB / 0.6443 GB, free: 3.027 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.1822, allocations: 0 / 0.6443 GB, free: 3.027 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.1822, allocations: 0 / 0.6443 GB, free: 3.027 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.71e-05/0.1823, allocations: 149.7 kB / 0.6444 GB, free: 2.832 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.1823, allocations: 4 kB / 0.6445 GB, free: 2.828 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.097e-05/0.1823, allocations: 3.938 kB / 0.6445 GB, free: 2.824 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.1823, allocations: 4 kB / 0.6445 GB, free: 2.82 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.264e-06/0.1823, allocations: 3.938 kB / 0.6445 GB, free: 2.816 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.1823, allocations: 0 / 0.6445 GB, free: 2.816 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.1823, allocations: 0 / 0.6445 GB, free: 2.816 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003048/0.1827, allocations: 0.6044 MB / 0.6451 GB, free: 2.152 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.402e-05/0.1827, allocations: 81.11 kB / 0.6451 GB, free: 2.055 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.057e-05/0.1827, allocations: 0 / 0.6451 GB, free: 2.055 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.506e-06/0.1827, allocations: 3.984 kB / 0.6451 GB, free: 2.051 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.222e-05/0.1827, allocations: 0 / 0.6451 GB, free: 2.051 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.322e-06/0.1828, allocations: 0 / 0.6451 GB, free: 2.051 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.362e-05/0.1828, allocations: 75.28 kB / 0.6452 GB, free: 1.977 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1828, allocations: 0 / 0.6452 GB, free: 1.977 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003405/0.1831, allocations: 4 kB / 0.6452 GB, free: 1.973 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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 Backend phase and start with SimCode phase: time 9.865e-05/0.1832, allocations: 95.53 kB / 0.6453 GB, free: 1.871 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 4.988e-05/0.1833, allocations: 8 kB / 0.6453 GB, free: 1.863 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1833, allocations: 0 / 0.6453 GB, free: 1.863 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 5.079e-06/0.1833, allocations: 0 / 0.6453 GB, free: 1.863 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001321/0.1834, allocations: 9.625 kB / 0.6453 GB, free: 1.855 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002388/0.1837, allocations: 193.4 kB / 0.6455 GB, free: 1.625 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002218/0.1839, allocations: 0.6772 MB / 0.6462 GB, free: 0.9219 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 1.322e-05/0.1839, allocations: 0 / 0.6462 GB, free: 0.9219 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.571e-05/0.184, allocations: 7.438 kB / 0.6462 GB, free: 0.9141 MB / 442.7 MB Notification: Performance of SimCode: time 2.1e-07/0.184, allocations: 0 / 0.6462 GB, free: 0.9141 MB / 442.7 MB Notification: Performance of Templates: time 0.001604/0.1856, allocations: 162.3 kB / 0.6463 GB, free: 0.7578 MB / 442.7 MB make -j1 -f IDEAS_dev_IDEAS.Utilities.Time.Examples.ModelTime.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Time.Examples.ModelTime.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Time.Examples.ModelTime.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Time.Examples.ModelTime.sim & ./IDEAS_dev_IDEAS.Utilities.Time.Examples.ModelTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Time.Examples.ModelTime.pipe 2>&1)