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.0007041/0.0007041, allocations: 115 kB / 19.7 MB, free: 0.5273 MB / 13.93 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.00074/0.00074, allocations: 203.2 kB / 23 MB, free: 3.113 MB / 13.93 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 0.8479/0.8479, allocations: 230.6 MB / 256.8 MB, free: 3.48 MB / 202.7 MB " [Timeout remaining time 179] 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 0.7329/0.7329, allocations: 203.8 MB / 0.5049 GB, free: 0.7188 MB / 410.7 MB " [Timeout remaining time 179] 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.0009451/0.0009451, allocations: 71.83 kB / 0.7195 GB, free: 14.46 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4571/0.4581, allocations: 102 MB / 0.8191 GB, free: 25.22 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.QuadraticLinear): time 0.002746/0.4608, allocations: 1.503 MB / 0.8206 GB, free: 24.19 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0003286/0.4611, allocations: 130 kB / 0.8207 GB, free: 24.1 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.971e-05/0.4612, allocations: 0.7812 kB / 0.8207 GB, free: 24.1 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 5.074e-05/0.4612, allocations: 5.375 kB / 0.8207 GB, free: 24.1 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 6.875e-05/0.4613, allocations: 7.812 kB / 0.8207 GB, free: 24.09 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002556/0.4615, allocations: 24.34 kB / 0.8207 GB, free: 24.08 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001136/0.4617, allocations: 44.2 kB / 0.8208 GB, free: 24.06 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001233/0.4618, allocations: 10.69 kB / 0.8208 GB, free: 24.06 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 7.113e-05/0.4619, allocations: 16.8 kB / 0.8208 GB, free: 24.05 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 6.907e-05/0.4619, allocations: 23.81 kB / 0.8208 GB, free: 24.04 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.26e-05/0.4619, allocations: 5.094 kB / 0.8208 GB, free: 24.04 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001051/0.4621, allocations: 24.95 kB / 0.8208 GB, free: 24.03 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 6.245e-05/0.4621, allocations: 13.45 kB / 0.8208 GB, free: 24.02 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 4.624e-05/0.4622, allocations: 24.14 kB / 0.8209 GB, free: 24.01 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001939/0.4624, allocations: 63.75 kB / 0.8209 GB, free: 23.98 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 7.394e-06/0.4624, allocations: 1.344 kB / 0.8209 GB, free: 23.98 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.224e-06/0.4624, allocations: 0 / 0.8209 GB, free: 23.98 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.378e-06/0.4624, allocations: 3.281 kB / 0.8209 GB, free: 23.98 MB / 0.6355 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.00049/0.4629, allocations: 303.3 kB / 0.8212 GB, free: 23.7 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.093e-05/0.4629, allocations: 10.75 kB / 0.8212 GB, free: 23.7 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002302/0.4631, allocations: 27.34 kB / 0.8213 GB, free: 23.69 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.947e-05/0.4632, allocations: 115.3 kB / 0.8214 GB, free: 23.56 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.436e-05/0.4633, allocations: 1.062 kB / 0.8214 GB, free: 23.56 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.668e-05/0.4633, allocations: 6.219 kB / 0.8214 GB, free: 23.56 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002214/0.4635, allocations: 80.88 kB / 0.8215 GB, free: 23.52 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.4635, allocations: 0.875 kB / 0.8215 GB, free: 23.52 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.113e-05/0.4635, allocations: 4.656 kB / 0.8215 GB, free: 23.51 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.4635, allocations: 2.438 kB / 0.8215 GB, free: 23.51 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001998/0.4637, allocations: 78.19 kB / 0.8215 GB, free: 23.5 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003883/0.4641, allocations: 274.1 kB / 0.8218 GB, free: 23.25 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001544/0.4643, allocations: 74.03 kB / 0.8219 GB, free: 23.21 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000116/0.4644, allocations: 54.72 kB / 0.8219 GB, free: 23.19 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.378e-05/0.4644, allocations: 0.5938 kB / 0.8219 GB, free: 23.19 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.888e-05/0.4644, allocations: 33.12 kB / 0.822 GB, free: 23.15 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 2.454e-06/0.4644, allocations: 3.984 kB / 0.822 GB, free: 23.14 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0004/0.4648, allocations: 148.2 kB / 0.8221 GB, free: 23.1 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.129e-05/0.4648, allocations: 56.91 kB / 0.8222 GB, free: 23.03 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.884e-05/0.4649, allocations: 125.8 kB / 0.8223 GB, free: 22.93 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.743e-06/0.465, allocations: 25.7 kB / 0.8223 GB, free: 22.89 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.774e-05/0.465, allocations: 101.8 kB / 0.8224 GB, free: 22.8 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.138e-05/0.465, allocations: 9.688 kB / 0.8224 GB, free: 22.79 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.481e-05/0.465, allocations: 13.66 kB / 0.8224 GB, free: 22.77 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.306e-05/0.4651, allocations: 321.9 kB / 0.8227 GB, free: 22.45 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.847e-05/0.4652, allocations: 44.69 kB / 0.8228 GB, free: 22.44 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.039e-05/0.4653, allocations: 41.94 kB / 0.8228 GB, free: 22.43 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001977/0.4655, allocations: 85.02 kB / 0.8229 GB, free: 22.41 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.4655, allocations: 5 kB / 0.8229 GB, free: 22.41 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002201/0.4657, allocations: 114.1 kB / 0.823 GB, free: 22.36 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.224e-05/0.4657, allocations: 4.688 kB / 0.823 GB, free: 22.36 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.4657, allocations: 6.203 kB / 0.823 GB, free: 22.36 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.721e-05/0.4657, allocations: 0 / 0.823 GB, free: 22.36 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001053/0.4658, allocations: 17.66 kB / 0.823 GB, free: 22.36 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.595e-06/0.4659, allocations: 1.094 kB / 0.823 GB, free: 22.36 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.772e-05/0.4659, allocations: 17.88 kB / 0.823 GB, free: 22.35 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.546e-06/0.4659, allocations: 5.031 kB / 0.8231 GB, free: 22.34 MB / 0.6355 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 6.698e-05/0.466, allocations: 116.8 kB / 0.8232 GB, free: 22.23 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.443e-05/0.466, allocations: 11.81 kB / 0.8232 GB, free: 22.22 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.926e-05/0.466, allocations: 14.75 kB / 0.8232 GB, free: 22.2 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.546e-06/0.466, allocations: 0.6562 kB / 0.8232 GB, free: 22.2 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.466, allocations: 1.125 kB / 0.8232 GB, free: 22.2 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.466, allocations: 0 / 0.8232 GB, free: 22.2 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00013/0.4662, allocations: 151.5 kB / 0.8233 GB, free: 22.04 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.4662, allocations: 0 / 0.8233 GB, free: 22.04 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.355e-05/0.4662, allocations: 16.53 kB / 0.8234 GB, free: 22.04 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.4662, allocations: 1.344 kB / 0.8234 GB, free: 22.04 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.127e-06/0.4663, allocations: 4 kB / 0.8234 GB, free: 22.04 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.945e-06/0.4663, allocations: 6.188 kB / 0.8234 GB, free: 22.03 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.4663, allocations: 0 / 0.8234 GB, free: 22.03 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000258/0.4665, allocations: 209.5 kB / 0.8236 GB, free: 21.88 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.293e-05/0.4665, allocations: 7.172 kB / 0.8236 GB, free: 21.88 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.324e-05/0.4665, allocations: 1.125 kB / 0.8236 GB, free: 21.88 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.267e-05/0.4666, allocations: 19.84 kB / 0.8236 GB, free: 21.87 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.968e-05/0.4667, allocations: 3.531 kB / 0.8236 GB, free: 21.87 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.148e-06/0.4667, allocations: 0.875 kB / 0.8236 GB, free: 21.87 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.483e-05/0.4667, allocations: 109.1 kB / 0.8237 GB, free: 21.79 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4667, allocations: 0 / 0.8237 GB, free: 21.79 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001556/0.4669, allocations: 9.672 kB / 0.8237 GB, free: 21.79 MB / 0.6355 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.0001142/0.467, allocations: 92.19 kB / 0.8238 GB, free: 21.7 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002567/0.4672, allocations: 89.81 kB / 0.8239 GB, free: 21.68 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.736e-06/0.4672, allocations: 0.5312 kB / 0.8239 GB, free: 21.68 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 9.552e-05/0.4673, allocations: 47.69 kB / 0.8239 GB, free: 21.67 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002051/0.4675, allocations: 16.45 kB / 0.8239 GB, free: 21.66 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003517/0.4679, allocations: 182.6 kB / 0.8241 GB, free: 21.49 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001173/0.468, allocations: 0.6896 MB / 0.8248 GB, free: 20.79 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.264e-05/0.468, allocations: 9.531 kB / 0.8248 GB, free: 20.79 MB / 0.6355 GB Notification: Performance of SimCode: time 9.02e-07/0.468, allocations: 0 / 0.8248 GB, free: 20.79 MB / 0.6355 GB Notification: Performance of Templates: time 0.002674/0.4707, allocations: 0.9041 MB / 0.8257 GB, free: 20.73 MB / 0.6355 GB " [Timeout remaining time 660] 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: 5.508972161915153] Failed to read output from testmodel.py, exit status != 0: 0.4773297889623791 0.48756044 0.023302067000000003 Calling exit ...