Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.RegNonZeroPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001422/0.001422, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001514/0.001514, allocations: 193.5 kB / 22.23 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.452/1.452, allocations: 225.6 MB / 251 MB, free: 13 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.976/0.976, allocations: 134 MB / 440.3 MB, free: 204 kB / 334.1 MB " [Timeout remaining time 179] 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.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.RegNonZeroPower") translateModel(IDEAS.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.RegNonZeroPower") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001886/0.001886, allocations: 63.73 kB / 0.6107 GB, free: 13.66 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1782/0.1801, allocations: 84.73 MB / 0.6935 GB, free: 9.004 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.RegNonZeroPower): time 0.002664/0.1828, allocations: 1.45 MB / 0.6949 GB, free: 7.543 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0007686/0.1835, allocations: 391.5 kB / 0.6953 GB, free: 7.156 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.078e-05/0.1836, allocations: 0 / 0.6953 GB, free: 7.156 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.866e-05/0.1836, allocations: 0 / 0.6953 GB, free: 7.156 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 4.468e-05/0.1836, allocations: 3.938 kB / 0.6953 GB, free: 7.152 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004179/0.1841, allocations: 123.1 kB / 0.6954 GB, free: 7.035 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 6.276e-05/0.1841, allocations: 27.92 kB / 0.6954 GB, free: 7.008 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 7.469e-05/0.1842, allocations: 3.938 kB / 0.6954 GB, free: 7.004 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 4.079e-05/0.1842, allocations: 11.94 kB / 0.6954 GB, free: 6.992 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 3.739e-05/0.1843, allocations: 15.92 kB / 0.6954 GB, free: 6.977 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.252e-05/0.1843, allocations: 4 kB / 0.6954 GB, free: 6.973 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003849/0.1847, allocations: 275.7 kB / 0.6957 GB, free: 6.703 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.304e-05/0.1847, allocations: 3.984 kB / 0.6957 GB, free: 6.699 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.084e-05/0.1847, allocations: 19.92 kB / 0.6957 GB, free: 6.68 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002095/0.1849, allocations: 103.6 kB / 0.6958 GB, free: 6.578 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.1849, allocations: 4 kB / 0.6958 GB, free: 6.574 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.363e-06/0.1849, allocations: 0 / 0.6958 GB, free: 6.574 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.61e-06/0.1849, allocations: 0 / 0.6958 GB, free: 6.574 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005092/0.1854, allocations: 286 kB / 0.6961 GB, free: 6.262 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.426e-05/0.1855, allocations: 8.031 kB / 0.6961 GB, free: 6.254 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.871e-05/0.1855, allocations: 12.89 kB / 0.6961 GB, free: 6.242 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001125/0.1857, allocations: 106.5 kB / 0.6962 GB, free: 6.113 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.268e-05/0.1857, allocations: 8.375 kB / 0.6962 GB, free: 6.105 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.251e-05/0.1857, allocations: 384 / 0.6962 GB, free: 6.105 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001909/0.1859, allocations: 50.23 kB / 0.6963 GB, free: 6.051 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.1859, allocations: 192 / 0.6963 GB, free: 6.051 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.124e-05/0.1859, allocations: 3.938 kB / 0.6963 GB, free: 6.047 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.628e-06/0.1859, allocations: 0 / 0.6963 GB, free: 6.047 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001766/0.1861, allocations: 39.89 kB / 0.6963 GB, free: 6.008 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004189/0.1865, allocations: 228 kB / 0.6965 GB, free: 5.742 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001371/0.1866, allocations: 38.5 kB / 0.6966 GB, free: 5.695 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.604e-05/0.1867, allocations: 20.91 kB / 0.6966 GB, free: 5.672 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005078/0.1872, allocations: 79.91 kB / 0.6967 GB, free: 5.594 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.709e-05/0.1873, allocations: 30.56 kB / 0.6967 GB, free: 5.555 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.1873, allocations: 0 / 0.6967 GB, free: 5.555 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2): time 0.0003944/0.1877, allocations: 89.55 kB / 0.6968 GB, free: 5.461 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.558e-05/0.1877, allocations: 59.39 kB / 0.6968 GB, free: 5.391 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.135e-05/0.1878, allocations: 101.8 kB / 0.6969 GB, free: 5.281 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.568e-05/0.1878, allocations: 29.7 kB / 0.697 GB, free: 5.246 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.523e-05/0.1879, allocations: 88.12 kB / 0.6971 GB, free: 5.156 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.818e-05/0.1879, allocations: 7.938 kB / 0.6971 GB, free: 5.148 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.364e-05/0.1879, allocations: 13.72 kB / 0.6971 GB, free: 5.129 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001461/0.1881, allocations: 319 kB / 0.6974 GB, free: 4.809 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.963e-05/0.1881, allocations: 11.98 kB / 0.6974 GB, free: 4.797 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.314e-05/0.1882, allocations: 23.97 kB / 0.6974 GB, free: 4.773 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001618/0.1884, allocations: 40.77 kB / 0.6975 GB, free: 4.73 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.1884, allocations: 0 / 0.6975 GB, free: 4.73 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002225/0.1886, allocations: 73.66 kB / 0.6975 GB, free: 4.652 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/0.1886, allocations: 4 kB / 0.6975 GB, free: 4.648 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.1886, allocations: 0 / 0.6975 GB, free: 4.648 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.1886, allocations: 0 / 0.6975 GB, free: 4.648 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.661e-05/0.1887, allocations: 11.98 kB / 0.6975 GB, free: 4.637 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/0.1887, allocations: 0 / 0.6975 GB, free: 4.637 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.002e-05/0.1888, allocations: 11.94 kB / 0.6976 GB, free: 4.625 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.274e-06/0.1888, allocations: 4.016 kB / 0.6976 GB, free: 4.621 MB / 0.5137 GB 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 (2): * Single equations (assignments): 2 * 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 8.427e-05/0.1889, allocations: 123.5 kB / 0.6977 GB, free: 4.492 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.5e-05/0.1889, allocations: 0 / 0.6977 GB, free: 4.492 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002445/0.1892, allocations: 81.17 kB / 0.6978 GB, free: 4.406 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.1892, allocations: 0 / 0.6978 GB, free: 4.406 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.1892, allocations: 0 / 0.6978 GB, free: 4.406 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.1892, allocations: 0 / 0.6978 GB, free: 4.406 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001716/0.1893, allocations: 136.7 kB / 0.6979 GB, free: 4.23 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.1893, allocations: 4.25 kB / 0.6979 GB, free: 4.227 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.605e-05/0.1894, allocations: 7.938 kB / 0.6979 GB, free: 4.219 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/0.1894, allocations: 4 kB / 0.6979 GB, free: 4.215 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.153e-06/0.1894, allocations: 0 / 0.6979 GB, free: 4.215 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.679e-06/0.1894, allocations: 7.984 kB / 0.6979 GB, free: 4.207 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.1894, allocations: 0 / 0.6979 GB, free: 4.207 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003073/0.1897, allocations: 167.4 kB / 0.6981 GB, free: 4.027 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 9.558e-06/0.1897, allocations: 3.984 kB / 0.6981 GB, free: 4.023 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.52e-05/0.1897, allocations: 4 kB / 0.6981 GB, free: 4.02 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.172e-05/0.1898, allocations: 0 / 0.6981 GB, free: 4.02 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.98e-05/0.1899, allocations: 11.98 kB / 0.6981 GB, free: 4.008 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.717e-06/0.1899, allocations: 0 / 0.6981 GB, free: 4.008 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.282e-05/0.1899, allocations: 79.28 kB / 0.6982 GB, free: 3.93 MB / 0.5137 GB Notification: Performance of sort global known variables: time 6e-08/0.1899, allocations: 0 / 0.6982 GB, free: 3.93 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002375/0.1902, allocations: 12 kB / 0.6982 GB, free: 3.918 MB / 0.5137 GB 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 (2): * Single equations (assignments): 2 * 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 0.0001881/0.1903, allocations: 115.2 kB / 0.6983 GB, free: 3.797 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002368/0.1906, allocations: 35.97 kB / 0.6983 GB, free: 3.762 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1906, allocations: 3.938 kB / 0.6983 GB, free: 3.758 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 9.403e-05/0.1907, allocations: 23.91 kB / 0.6983 GB, free: 3.734 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003174/0.191, allocations: 12.06 kB / 0.6984 GB, free: 3.723 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003174/0.1913, allocations: 117.4 kB / 0.6985 GB, free: 3.582 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003124/0.1916, allocations: 0.6768 MB / 0.6991 GB, free: 2.879 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.195e-05/0.1917, allocations: 0 / 0.6991 GB, free: 2.879 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.441e-05/0.1917, allocations: 11.44 kB / 0.6991 GB, free: 2.867 MB / 0.5137 GB Notification: Performance of SimCode: time 3.11e-07/0.1917, allocations: 0 / 0.6991 GB, free: 2.867 MB / 0.5137 GB Notification: Performance of Templates: time 0.003409/0.1951, allocations: 0.7075 MB / 0.6998 GB, free: 2.16 MB / 0.5137 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.RegNonZeroPower.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.RegNonZeroPower.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.901021953672171] Failed to read output from testmodel.py, exit status != 0: 0.2031792216002941 0.22934917499999996 0.039659131 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7fbab8e297b0>