Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.QuadraticLinear.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.001683/0.001683, 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.00204/0.00204, allocations: 194.1 kB / 22.23 MB, free: 5.156 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.507/1.507, 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.8916/0.8916, allocations: 134 MB / 440.3 MB, free: 232 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.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.QuadraticLinear") translateModel(IDEAS.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.QuadraticLinear") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002003/0.002003, allocations: 68.86 kB / 0.6107 GB, free: 13.66 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.183/0.185, allocations: 84.72 MB / 0.6935 GB, free: 9.008 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.QuadraticLinear): time 0.002909/0.1879, allocations: 1.501 MB / 0.6949 GB, free: 7.496 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0003785/0.1883, allocations: 116.5 kB / 0.695 GB, free: 7.379 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.123e-05/0.1883, allocations: 8 kB / 0.6951 GB, free: 7.371 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 4.888e-05/0.1883, allocations: 3.938 kB / 0.6951 GB, free: 7.367 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 7.574e-05/0.1884, allocations: 3.938 kB / 0.6951 GB, free: 7.363 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.000241/0.1887, allocations: 23.91 kB / 0.6951 GB, free: 7.34 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001054/0.1888, allocations: 47.84 kB / 0.6951 GB, free: 7.293 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001114/0.1889, allocations: 11.98 kB / 0.6951 GB, free: 7.281 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 5.253e-05/0.1889, allocations: 11.98 kB / 0.6952 GB, free: 7.27 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 6.018e-05/0.189, allocations: 27.86 kB / 0.6952 GB, free: 7.242 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.757e-05/0.189, allocations: 4 kB / 0.6952 GB, free: 7.238 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 7.121e-05/0.1891, allocations: 19.98 kB / 0.6952 GB, free: 7.219 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 5.567e-05/0.1891, allocations: 15.98 kB / 0.6952 GB, free: 7.203 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 4.27e-05/0.1892, allocations: 19.86 kB / 0.6952 GB, free: 7.184 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001712/0.1894, allocations: 63.67 kB / 0.6953 GB, free: 7.121 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.1894, allocations: 0 / 0.6953 GB, free: 7.121 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.034e-06/0.1894, allocations: 0 / 0.6953 GB, free: 7.121 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.1894, allocations: 0 / 0.6953 GB, free: 7.121 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006603/0.19, allocations: 306 kB / 0.6956 GB, free: 6.789 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.1901, allocations: 12.03 kB / 0.6956 GB, free: 6.777 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.996e-05/0.1901, allocations: 8.938 kB / 0.6956 GB, free: 6.77 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001493/0.1903, allocations: 118.4 kB / 0.6957 GB, free: 6.629 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.586e-05/0.1903, allocations: 4.375 kB / 0.6957 GB, free: 6.625 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.601e-05/0.1903, allocations: 8.312 kB / 0.6957 GB, free: 6.617 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002987/0.1906, allocations: 74.2 kB / 0.6958 GB, free: 6.539 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.327e-05/0.1906, allocations: 192 / 0.6958 GB, free: 6.539 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.369e-05/0.1906, allocations: 7.938 kB / 0.6958 GB, free: 6.531 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.1906, allocations: 0 / 0.6958 GB, free: 6.531 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003303/0.191, allocations: 79.86 kB / 0.6959 GB, free: 6.453 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004313/0.1914, allocations: 248 kB / 0.6961 GB, free: 6.168 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002502/0.1916, allocations: 74.45 kB / 0.6962 GB, free: 6.086 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001838/0.1918, allocations: 48.84 kB / 0.6962 GB, free: 6.035 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002538/0.1921, allocations: 31.88 kB / 0.6963 GB, free: 6.004 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.136e-05/0.1921, allocations: 30.56 kB / 0.6963 GB, free: 5.965 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=3): time 1.242e-06/0.1921, allocations: 8 kB / 0.6963 GB, free: 5.957 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3): time 0.0006388/0.1927, allocations: 149.5 kB / 0.6965 GB, free: 5.805 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.049e-05/0.1928, allocations: 51.41 kB / 0.6965 GB, free: 5.742 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001423/0.1929, allocations: 125.8 kB / 0.6966 GB, free: 5.609 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.919e-05/0.193, allocations: 25.7 kB / 0.6966 GB, free: 5.578 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 8.159e-05/0.193, allocations: 100.1 kB / 0.6967 GB, free: 5.477 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.201e-05/0.1931, allocations: 7.891 kB / 0.6967 GB, free: 5.469 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.125e-05/0.1931, allocations: 17.72 kB / 0.6968 GB, free: 5.445 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001637/0.1933, allocations: 310.8 kB / 0.6971 GB, free: 5.133 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001658/0.1934, allocations: 39.95 kB / 0.6971 GB, free: 5.094 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001539/0.1936, allocations: 43.95 kB / 0.6971 GB, free: 5.051 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002999/0.1939, allocations: 76.72 kB / 0.6972 GB, free: 4.973 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.1939, allocations: 3.938 kB / 0.6972 GB, free: 4.969 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003527/0.1943, allocations: 109.6 kB / 0.6973 GB, free: 4.855 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.1943, allocations: 8 kB / 0.6973 GB, free: 4.848 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/0.1943, allocations: 3.984 kB / 0.6973 GB, free: 4.844 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.1943, allocations: 0 / 0.6973 GB, free: 4.844 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001358/0.1944, allocations: 19.98 kB / 0.6974 GB, free: 4.824 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.1944, allocations: 0 / 0.6974 GB, free: 4.824 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.04e-05/0.1945, allocations: 11.98 kB / 0.6974 GB, free: 4.812 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.358e-06/0.1945, allocations: 0 / 0.6974 GB, free: 4.812 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 (3): * Single equations (assignments): 3 * 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.000106/0.1946, allocations: 127.5 kB / 0.6975 GB, free: 4.68 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.236e-05/0.1947, allocations: 7.953 kB / 0.6975 GB, free: 4.672 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004528/0.1951, allocations: 117.5 kB / 0.6976 GB, free: 4.547 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.1951, allocations: 0 / 0.6976 GB, free: 4.547 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.1951, allocations: 3.938 kB / 0.6976 GB, free: 4.543 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.1951, allocations: 0 / 0.6976 GB, free: 4.543 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002225/0.1954, allocations: 156.6 kB / 0.6978 GB, free: 4.348 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.1954, allocations: 4 kB / 0.6978 GB, free: 4.344 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.959e-05/0.1955, allocations: 15.98 kB / 0.6978 GB, free: 4.328 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.1955, allocations: 3.984 kB / 0.6978 GB, free: 4.324 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.414e-06/0.1955, allocations: 4 kB / 0.6978 GB, free: 4.32 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.1955, allocations: 0 / 0.6978 GB, free: 4.32 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.1955, allocations: 0 / 0.6978 GB, free: 4.32 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005937/0.1961, allocations: 211.7 kB / 0.698 GB, free: 4.098 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 1.77e-05/0.1961, allocations: 11.94 kB / 0.698 GB, free: 4.086 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.773e-05/0.1961, allocations: 4 kB / 0.698 GB, free: 4.082 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001078/0.1962, allocations: 12.03 kB / 0.698 GB, free: 4.07 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.832e-05/0.1963, allocations: 7.969 kB / 0.698 GB, free: 4.062 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.178e-06/0.1963, allocations: 3.938 kB / 0.698 GB, free: 4.059 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 7.505e-05/0.1963, allocations: 103.3 kB / 0.6981 GB, free: 3.957 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9e-08/0.1963, allocations: 4 kB / 0.6981 GB, free: 3.953 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000228/0.1966, allocations: 8 kB / 0.6981 GB, free: 3.945 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 (3): * Single equations (assignments): 3 * 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.0001639/0.1967, allocations: 95.25 kB / 0.6982 GB, free: 3.844 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003745/0.1971, allocations: 75.91 kB / 0.6983 GB, free: 3.77 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.1971, allocations: 0 / 0.6983 GB, free: 3.77 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001699/0.1973, allocations: 47.91 kB / 0.6983 GB, free: 3.723 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002487/0.1975, allocations: 15.86 kB / 0.6984 GB, free: 3.707 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003704/0.1979, allocations: 153.5 kB / 0.6985 GB, free: 3.531 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000416/0.1983, allocations: 0.6885 MB / 0.6992 GB, free: 2.816 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.687e-05/0.1983, allocations: 7.984 kB / 0.6992 GB, free: 2.809 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.537e-05/0.1984, allocations: 11.44 kB / 0.6992 GB, free: 2.797 MB / 0.5137 GB Notification: Performance of SimCode: time 3.21e-07/0.1984, allocations: 0 / 0.6992 GB, free: 2.797 MB / 0.5137 GB Notification: Performance of Templates: time 0.003822/0.2022, allocations: 0.8105 MB / 0.7 GB, free: 1.996 MB / 0.5137 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.QuadraticLinear.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.QuadraticLinear.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.QuadraticLinear -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.810150249861181] Failed to read output from testmodel.py, exit status != 0: 0.21000367868691683 0.22668096099999996 0.034004146 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f71f06997b0>