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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001881/0.001881, allocations: 102.1 kB / 19.7 MB, free: 2.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002462/0.002462, allocations: 220.8 kB / 23.01 MB, free: 4.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.511/1.511, allocations: 230.6 MB / 256.8 MB, free: 8.055 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.8378/0.8378, allocations: 134 MB / 447.2 MB, free: 10.3 MB / 350.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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002024/0.002024, allocations: 70.67 kB / 0.6198 GB, free: 6.77 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.175/0.177, allocations: 85.9 MB / 0.7037 GB, free: 0.9375 MB / 0.5138 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.QuadraticLinear): time 0.002877/0.1799, allocations: 1.514 MB / 0.7052 GB, free: 15.42 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0003957/0.1803, allocations: 116.5 kB / 0.7053 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.679e-05/0.1804, allocations: 7.938 kB / 0.7053 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 4.883e-05/0.1804, allocations: 3.938 kB / 0.7053 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.886e-05/0.1805, allocations: 7.938 kB / 0.7053 GB, free: 15.28 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002308/0.1807, allocations: 23.91 kB / 0.7053 GB, free: 15.26 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 9.45e-05/0.1808, allocations: 43.84 kB / 0.7053 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 9.884e-05/0.1809, allocations: 8 kB / 0.7054 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 5.533e-05/0.1809, allocations: 19.92 kB / 0.7054 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.888e-05/0.181, allocations: 23.91 kB / 0.7054 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.698e-05/0.181, allocations: 7.938 kB / 0.7054 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 7.042e-05/0.1811, allocations: 23.98 kB / 0.7054 GB, free: 15.13 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 5.133e-05/0.1811, allocations: 11.98 kB / 0.7054 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.916e-05/0.1812, allocations: 27.8 kB / 0.7055 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001455/0.1813, allocations: 51.8 kB / 0.7055 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.1813, allocations: 0 / 0.7055 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of FrontEnd: time 3.406e-06/0.1813, allocations: 4 kB / 0.7055 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.53e-06/0.1813, allocations: 0 / 0.7055 GB, free: 15.04 MB / 0.5294 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.0005622/0.1819, allocations: 306 kB / 0.7058 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.544e-05/0.1819, allocations: 15.97 kB / 0.7058 GB, free: 14.69 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.568e-05/0.182, allocations: 8.891 kB / 0.7058 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001307/0.1821, allocations: 114.4 kB / 0.7059 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.062e-05/0.1821, allocations: 4.375 kB / 0.7059 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.656e-05/0.1821, allocations: 4.375 kB / 0.7059 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002725/0.1824, allocations: 78.14 kB / 0.706 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.298e-06/0.1824, allocations: 192 / 0.706 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.18e-05/0.1824, allocations: 3.938 kB / 0.706 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.1824, allocations: 4 kB / 0.706 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000292/0.1827, allocations: 71.92 kB / 0.7061 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004126/0.1831, allocations: 248 kB / 0.7063 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002188/0.1834, allocations: 74.47 kB / 0.7064 GB, free: 14.01 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001545/0.1835, allocations: 44.84 kB / 0.7065 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002223/0.1837, allocations: 31.97 kB / 0.7065 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.299e-05/0.1838, allocations: 34.56 kB / 0.7065 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 1.173e-06/0.1838, allocations: 4 kB / 0.7065 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0005563/0.1843, allocations: 141.5 kB / 0.7067 GB, free: 13.74 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.127e-05/0.1844, allocations: 51.41 kB / 0.7067 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000124/0.1845, allocations: 125.8 kB / 0.7068 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.644e-05/0.1845, allocations: 29.7 kB / 0.7068 GB, free: 13.51 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.542e-05/0.1846, allocations: 96.12 kB / 0.7069 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.125e-05/0.1846, allocations: 11.84 kB / 0.707 GB, free: 13.4 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.495e-05/0.1846, allocations: 17.72 kB / 0.707 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001369/0.1848, allocations: 318.8 kB / 0.7073 GB, free: 13.06 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001527/0.1849, allocations: 43.89 kB / 0.7073 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001404/0.1851, allocations: 43.89 kB / 0.7074 GB, free: 12.97 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002715/0.1853, allocations: 76.78 kB / 0.7074 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.1853, allocations: 3.938 kB / 0.7074 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003259/0.1857, allocations: 113.9 kB / 0.7075 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.1857, allocations: 4 kB / 0.7075 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.1857, allocations: 4.047 kB / 0.7076 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.119e-05/0.1857, allocations: 7.969 kB / 0.7076 GB, free: 12.76 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001245/0.1858, allocations: 11.98 kB / 0.7076 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.1858, allocations: 3.938 kB / 0.7076 GB, free: 12.74 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.09e-05/0.1859, allocations: 11.98 kB / 0.7076 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.323e-06/0.1859, allocations: 0 / 0.7076 GB, free: 12.73 MB / 0.5294 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 9.841e-05/0.186, allocations: 129.7 kB / 0.7077 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.721e-05/0.186, allocations: 4 kB / 0.7077 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003844/0.1864, allocations: 117.6 kB / 0.7078 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-06/0.1864, allocations: 0 / 0.7078 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.576e-06/0.1864, allocations: 0 / 0.7078 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-06/0.1864, allocations: 0 / 0.7078 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001838/0.1866, allocations: 156.7 kB / 0.708 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.1866, allocations: 0 / 0.708 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001125/0.1867, allocations: 15.98 kB / 0.708 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.1867, allocations: 0 / 0.708 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.184e-05/0.1867, allocations: 7.984 kB / 0.708 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.1868, allocations: 3.938 kB / 0.708 GB, free: 12.24 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1868, allocations: 0 / 0.708 GB, free: 12.24 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003774/0.1871, allocations: 207.4 kB / 0.7082 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.457e-05/0.1871, allocations: 7.938 kB / 0.7082 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.636e-05/0.1872, allocations: 4 kB / 0.7082 GB, free: 12.01 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001031/0.1873, allocations: 7.984 kB / 0.7082 GB, free: 12 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.606e-05/0.1873, allocations: 7.984 kB / 0.7082 GB, free: 12 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.807e-06/0.1873, allocations: 0 / 0.7082 GB, free: 12 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 7.089e-05/0.1874, allocations: 106.4 kB / 0.7083 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.1874, allocations: 0 / 0.7083 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002328/0.1876, allocations: 12 kB / 0.7083 GB, free: 11.88 MB / 0.5294 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.0001451/0.1878, allocations: 95.23 kB / 0.7084 GB, free: 11.78 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0003518/0.1881, allocations: 83.84 kB / 0.7085 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 8.776e-06/0.1881, allocations: 8 kB / 0.7085 GB, free: 11.69 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001452/0.1883, allocations: 35.97 kB / 0.7086 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002661/0.1885, allocations: 15.92 kB / 0.7086 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004182/0.189, allocations: 187.1 kB / 0.7087 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003318/0.1893, allocations: 0.6883 MB / 0.7094 GB, free: 10.71 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.422e-05/0.1893, allocations: 11.44 kB / 0.7094 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of SimCode: time 3.3e-07/0.1893, allocations: 4 kB / 0.7094 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of Templates: time 0.002607/0.1919, allocations: 0.8952 MB / 0.7103 GB, free: 9.805 MB / 0.5294 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: 8.012248952873051] Failed to read output from testmodel.py, exit status != 0: 0.1998830100055784 0.21573013300000002 0.031292574000000004 Calling exit ...