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.0007131/0.0007131, allocations: 96.38 kB / 19.7 MB, free: 448 kB / 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.0007425/0.0007425, allocations: 216.2 kB / 23 MB, free: 2.98 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.8862/0.8862, allocations: 230.6 MB / 256.8 MB, free: 9.617 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.7584/0.7584, allocations: 203.8 MB / 0.5049 GB, free: 10.4 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.0008811/0.0008811, allocations: 64.78 kB / 0.7194 GB, free: 3.523 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4883/0.4892, allocations: 102 MB / 0.819 GB, free: 1.32 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.QuadraticLinear): time 0.001897/0.4911, allocations: 1.511 MB / 0.8205 GB, free: 284 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002815/0.4914, allocations: 114.5 kB / 0.8206 GB, free: 208 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.076e-05/0.4914, allocations: 0 / 0.8206 GB, free: 208 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 4.685e-05/0.4915, allocations: 4.594 kB / 0.8206 GB, free: 204 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.471e-05/0.4915, allocations: 8.172 kB / 0.8206 GB, free: 200 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002173/0.4917, allocations: 27.73 kB / 0.8206 GB, free: 184 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.79e-05/0.4918, allocations: 43.17 kB / 0.8207 GB, free: 164 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.78e-05/0.4919, allocations: 10.3 kB / 0.8207 GB, free: 164 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.347e-05/0.492, allocations: 26.69 kB / 0.8207 GB, free: 148 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.546e-05/0.492, allocations: 19.81 kB / 0.8207 GB, free: 140 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.226e-05/0.492, allocations: 1.562 kB / 0.8207 GB, free: 140 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 6.995e-05/0.4921, allocations: 19.56 kB / 0.8207 GB, free: 136 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.831e-05/0.4921, allocations: 13.88 kB / 0.8208 GB, free: 128 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.443e-05/0.4922, allocations: 20.48 kB / 0.8208 GB, free: 116 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001251/0.4923, allocations: 55.16 kB / 0.8208 GB, free: 96 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.4923, allocations: 5.312 kB / 0.8208 GB, free: 92 kB / 0.6042 GB Notification: Performance of FrontEnd: time 1.743e-06/0.4923, allocations: 0 / 0.8208 GB, free: 92 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.212e-06/0.4923, allocations: 0 / 0.8208 GB, free: 92 kB / 0.6042 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.0004117/0.4927, allocations: 309.2 kB / 0.8211 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.4927, allocations: 9.031 kB / 0.8211 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001984/0.4929, allocations: 26.59 kB / 0.8212 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.043e-05/0.493, allocations: 112.4 kB / 0.8213 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.259e-05/0.4931, allocations: 10.31 kB / 0.8213 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.055e-05/0.4931, allocations: 9.188 kB / 0.8213 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001895/0.4933, allocations: 77 kB / 0.8214 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-06/0.4933, allocations: 192 / 0.8214 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.4933, allocations: 3.938 kB / 0.8214 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.4933, allocations: 1.594 kB / 0.8214 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001692/0.4934, allocations: 82.48 kB / 0.8214 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003349/0.4938, allocations: 238 kB / 0.8217 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001448/0.4939, allocations: 74.53 kB / 0.8217 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.482e-05/0.494, allocations: 49.45 kB / 0.8218 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.313e-05/0.494, allocations: 4 kB / 0.8218 GB, free: 15.31 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.542e-05/0.4941, allocations: 32.39 kB / 0.8218 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.603e-06/0.4941, allocations: 0 / 0.8218 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0003605/0.4944, allocations: 154.9 kB / 0.822 GB, free: 15.22 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.964e-05/0.4944, allocations: 59.86 kB / 0.822 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.141e-05/0.4945, allocations: 129.5 kB / 0.8222 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.043e-05/0.4945, allocations: 29.7 kB / 0.8222 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.614e-05/0.4946, allocations: 92.7 kB / 0.8223 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.074e-05/0.4946, allocations: 10.22 kB / 0.8223 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.865e-05/0.4946, allocations: 17.12 kB / 0.8223 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.904e-05/0.4947, allocations: 318.4 kB / 0.8226 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.2e-05/0.4948, allocations: 37.84 kB / 0.8226 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.989e-05/0.4949, allocations: 36.83 kB / 0.8227 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001633/0.4951, allocations: 89.08 kB / 0.8228 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.4951, allocations: 1.594 kB / 0.8228 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001905/0.4953, allocations: 118.3 kB / 0.8229 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.4953, allocations: 9.438 kB / 0.8229 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.4953, allocations: 5.312 kB / 0.8229 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.4953, allocations: 0 / 0.8229 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.438e-05/0.4954, allocations: 16.94 kB / 0.8229 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.4954, allocations: 3.938 kB / 0.8229 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.342e-05/0.4954, allocations: 13.38 kB / 0.8229 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.728e-06/0.4955, allocations: 9.016 kB / 0.8229 GB, free: 14.47 MB / 0.6198 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 5.744e-05/0.4955, allocations: 116.2 kB / 0.823 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.476e-05/0.4955, allocations: 7.312 kB / 0.823 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.25e-05/0.4955, allocations: 10.22 kB / 0.8231 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.4956, allocations: 4 kB / 0.8231 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.4956, allocations: 1.188 kB / 0.8231 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.4956, allocations: 0 / 0.8231 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001058/0.4957, allocations: 124.9 kB / 0.8232 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.4957, allocations: 0 / 0.8232 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.563e-05/0.4957, allocations: 21.06 kB / 0.8232 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.4957, allocations: 1 kB / 0.8232 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.662e-06/0.4957, allocations: 3.938 kB / 0.8232 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.4957, allocations: 1.156 kB / 0.8232 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.4957, allocations: 0 / 0.8232 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002365/0.496, allocations: 214.2 kB / 0.8234 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.139e-05/0.496, allocations: 11.81 kB / 0.8234 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.105e-05/0.496, allocations: 0 / 0.8234 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.964e-05/0.4961, allocations: 12.86 kB / 0.8234 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.709e-05/0.4961, allocations: 7.422 kB / 0.8234 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.328e-06/0.4961, allocations: 1.641 kB / 0.8234 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.771e-05/0.4961, allocations: 108 kB / 0.8235 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.4961, allocations: 0 / 0.8235 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001451/0.4963, allocations: 9.25 kB / 0.8236 GB, free: 13.94 MB / 0.6198 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 7.801e-05/0.4964, allocations: 93.98 kB / 0.8236 GB, free: 13.85 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002148/0.4966, allocations: 80.81 kB / 0.8237 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.4966, allocations: 5.344 kB / 0.8237 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.471e-05/0.4967, allocations: 43.08 kB / 0.8238 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001956/0.4969, allocations: 10.94 kB / 0.8238 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003279/0.4972, allocations: 180.2 kB / 0.824 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.624e-05/0.4973, allocations: 78.39 kB / 0.824 GB, free: 13.58 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.64e-05/0.4973, allocations: 8.594 kB / 0.824 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of SimCode: time 5.11e-07/0.4973, allocations: 1.5 kB / 0.824 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of Templates: time 0.002029/0.4993, allocations: 0.9222 MB / 0.8249 GB, free: 13.51 MB / 0.6198 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: 5.765827490016818] Failed to read output from testmodel.py, exit status != 0: 0.505095754750073 0.515016447 0.020756402 Calling exit ...