Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001369/0.001369, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001454/0.001454, allocations: 215 kB / 22.25 MB, free: 4.859 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.557/1.557, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 1.346/1.346, allocations: 203.8 MB / 0.5042 GB, free: 4.613 MB / 414.1 MB " [Timeout remaining time 178] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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_dev_IDEAS.Utilities.Math.Examples.QuadraticLinear") translateModel(IDEAS.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_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.002142/0.002142, allocations: 71.89 kB / 0.7186 GB, free: 1.922 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6937/0.6958, allocations: 102 MB / 0.8183 GB, free: 28.88 MB / 0.6387 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.QuadraticLinear): time 0.003359/0.6992, allocations: 1.511 MB / 0.8197 GB, free: 27.86 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.0004635/0.6997, allocations: 113.2 kB / 0.8198 GB, free: 27.79 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.69e-05/0.6997, allocations: 1.609 kB / 0.8198 GB, free: 27.79 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 5.282e-05/0.6998, allocations: 5.203 kB / 0.8198 GB, free: 27.79 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 7.248e-05/0.6998, allocations: 7.969 kB / 0.8199 GB, free: 27.78 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002791/0.7001, allocations: 25.52 kB / 0.8199 GB, free: 27.77 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0001099/0.7002, allocations: 52.88 kB / 0.8199 GB, free: 27.74 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001116/0.7003, allocations: 5.859 kB / 0.8199 GB, free: 27.74 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 5.934e-05/0.7004, allocations: 17.94 kB / 0.8199 GB, free: 27.73 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 6.049e-05/0.7005, allocations: 18.75 kB / 0.82 GB, free: 27.73 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 2.273e-05/0.7005, allocations: 3.844 kB / 0.82 GB, free: 27.73 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 8.68e-05/0.7006, allocations: 19.94 kB / 0.82 GB, free: 27.72 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 5.559e-05/0.7006, allocations: 11.02 kB / 0.82 GB, free: 27.72 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 3.617e-05/0.7007, allocations: 18.55 kB / 0.82 GB, free: 27.71 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0001742/0.7008, allocations: 62.14 kB / 0.8201 GB, free: 27.68 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.7008, allocations: 5.469 kB / 0.8201 GB, free: 27.68 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.523e-06/0.7008, allocations: 0 / 0.8201 GB, free: 27.68 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.184e-05/0.7009, allocations: 1.438 kB / 0.8201 GB, free: 27.68 MB / 0.6387 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.0005589/0.7014, allocations: 306.2 kB / 0.8204 GB, free: 27.39 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.651e-05/0.7015, allocations: 10.47 kB / 0.8204 GB, free: 27.39 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002775/0.7017, allocations: 26.67 kB / 0.8204 GB, free: 27.39 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.997e-05/0.7018, allocations: 116.4 kB / 0.8205 GB, free: 27.26 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.555e-05/0.7018, allocations: 6.375 kB / 0.8205 GB, free: 27.26 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.81e-05/0.7019, allocations: 1.656 kB / 0.8205 GB, free: 27.26 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002978/0.7022, allocations: 78.64 kB / 0.8206 GB, free: 27.22 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.7022, allocations: 192 / 0.8206 GB, free: 27.22 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/0.7022, allocations: 7.875 kB / 0.8206 GB, free: 27.21 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.027e-05/0.7022, allocations: 1.656 kB / 0.8206 GB, free: 27.21 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000335/0.7025, allocations: 83.05 kB / 0.8207 GB, free: 27.2 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000441/0.703, allocations: 243.9 kB / 0.8209 GB, free: 26.97 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002492/0.7032, allocations: 67.7 kB / 0.821 GB, free: 26.94 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001642/0.7034, allocations: 51.45 kB / 0.821 GB, free: 26.92 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 1.962e-05/0.7034, allocations: 3.156 kB / 0.821 GB, free: 26.92 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.482e-05/0.7034, allocations: 32.52 kB / 0.8211 GB, free: 26.88 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.7034, allocations: 0 / 0.8211 GB, free: 26.88 MB / 0.6387 GB Notification: Performance of matching and sorting (n=3): time 0.0006369/0.7041, allocations: 161.7 kB / 0.8212 GB, free: 26.82 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.948e-05/0.7041, allocations: 57.83 kB / 0.8213 GB, free: 26.76 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001123/0.7042, allocations: 123.8 kB / 0.8214 GB, free: 26.65 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 1.337e-05/0.7042, allocations: 25.7 kB / 0.8214 GB, free: 26.62 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 4.677e-05/0.7043, allocations: 93.53 kB / 0.8215 GB, free: 26.53 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 2.165e-05/0.7043, allocations: 9.641 kB / 0.8215 GB, free: 26.52 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.764e-05/0.7043, allocations: 17.88 kB / 0.8215 GB, free: 26.5 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 6.786e-05/0.7044, allocations: 318.8 kB / 0.8218 GB, free: 26.19 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001748/0.7046, allocations: 40.66 kB / 0.8219 GB, free: 26.18 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001626/0.7047, allocations: 41.16 kB / 0.8219 GB, free: 26.18 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003408/0.7051, allocations: 94.75 kB / 0.822 GB, free: 26.14 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.7051, allocations: 0 / 0.822 GB, free: 26.14 MB / 0.6387 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003916/0.7055, allocations: 121 kB / 0.8221 GB, free: 26.09 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.186e-05/0.7055, allocations: 5.984 kB / 0.8221 GB, free: 26.09 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.229e-06/0.7055, allocations: 0.5 kB / 0.8221 GB, free: 26.09 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.8e-05/0.7055, allocations: 0.5938 kB / 0.8221 GB, free: 26.09 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001725/0.7057, allocations: 20.55 kB / 0.8222 GB, free: 26.09 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.7057, allocations: 0.625 kB / 0.8222 GB, free: 26.09 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001035/0.7058, allocations: 12.27 kB / 0.8222 GB, free: 26.09 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.08e-05/0.7058, allocations: 1.703 kB / 0.8222 GB, free: 26.09 MB / 0.6387 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 7.628e-05/0.7059, allocations: 115.8 kB / 0.8223 GB, free: 25.97 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.245e-05/0.7059, allocations: 11.81 kB / 0.8223 GB, free: 25.96 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.345e-05/0.706, allocations: 10.88 kB / 0.8223 GB, free: 25.95 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.706, allocations: 0.9062 kB / 0.8223 GB, free: 25.95 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.706, allocations: 0 / 0.8223 GB, free: 25.95 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.706, allocations: 5.5 kB / 0.8223 GB, free: 25.95 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001427/0.7061, allocations: 119.7 kB / 0.8224 GB, free: 25.82 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.7061, allocations: 4.469 kB / 0.8224 GB, free: 25.82 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001246/0.7062, allocations: 20.78 kB / 0.8224 GB, free: 25.81 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.7062, allocations: 1.219 kB / 0.8224 GB, free: 25.81 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.064e-05/0.7062, allocations: 0 / 0.8224 GB, free: 25.81 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.454e-06/0.7062, allocations: 1.281 kB / 0.8224 GB, free: 25.81 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.7062, allocations: 0.7969 kB / 0.8224 GB, free: 25.81 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004032/0.7067, allocations: 215.1 kB / 0.8227 GB, free: 25.66 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 1.271e-05/0.7067, allocations: 10.02 kB / 0.8227 GB, free: 25.65 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.745e-05/0.7067, allocations: 1.406 kB / 0.8227 GB, free: 25.65 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001253/0.7068, allocations: 15.7 kB / 0.8227 GB, free: 25.65 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.737e-05/0.7069, allocations: 8.859 kB / 0.8227 GB, free: 25.64 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.091e-06/0.7069, allocations: 0.6562 kB / 0.8227 GB, free: 25.64 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 5.731e-05/0.7069, allocations: 104.4 kB / 0.8228 GB, free: 25.56 MB / 0.6387 GB Notification: Performance of sort global known variables: time 9e-08/0.7069, allocations: 0 / 0.8228 GB, free: 25.56 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.000227/0.7072, allocations: 16.38 kB / 0.8228 GB, free: 25.55 MB / 0.6387 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.0001145/0.7073, allocations: 100.8 kB / 0.8229 GB, free: 25.46 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0004019/0.7077, allocations: 81.95 kB / 0.823 GB, free: 25.45 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.7077, allocations: 0 / 0.823 GB, free: 25.45 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0001789/0.7079, allocations: 40.31 kB / 0.823 GB, free: 25.45 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002589/0.7081, allocations: 10.88 kB / 0.823 GB, free: 25.44 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003999/0.7085, allocations: 153.2 kB / 0.8232 GB, free: 25.3 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.481e-05/0.7086, allocations: 74.2 kB / 0.8232 GB, free: 25.23 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 3.928e-05/0.7086, allocations: 3.172 kB / 0.8232 GB, free: 25.23 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.108e-05/0.7087, allocations: 14.28 kB / 0.8233 GB, free: 25.22 MB / 0.6387 GB Notification: Performance of SimCode: time 2.81e-07/0.7087, allocations: 4 kB / 0.8233 GB, free: 25.21 MB / 0.6387 GB Notification: Performance of Templates: time 0.003711/0.7124, allocations: 0.8531 MB / 0.8241 GB, free: 25.11 MB / 0.6387 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.QuadraticLinear.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.QuadraticLinear.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.QuadraticLinear -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.9244966227561235] Failed to read output from testmodel.py, exit status != 0: 0.7208645213395357 0.733885157 0.030155661 Calling exit ...