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.001346/0.001346, allocations: 78.72 kB / 19.18 MB, free: 2.523 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.002094/0.002094, allocations: 166.9 kB / 22.46 MB, free: 5.371 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.549/1.549, allocations: 177.2 MB / 202.8 MB, free: 9.172 MB / 190.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.248/1.248, allocations: 154.6 MB / 413.7 MB, free: 5.281 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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: Performance of FrontEnd - loaded program: time 1.943e-06/1.943e-06, allocations: 0 / 0.6185 GB, free: 4.625 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.903e-05/3.097e-05, allocations: 3.031 kB / 0.6185 GB, free: 4.621 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.QuadraticLinear): time 0.002783/0.002814, allocations: 1.485 MB / 0.62 GB, free: 3.133 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.000357/0.003171, allocations: 123.5 kB / 0.6201 GB, free: 3.012 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.968e-05/0.003211, allocations: 4 kB / 0.6201 GB, free: 3.008 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 5.406e-05/0.003265, allocations: 3.938 kB / 0.6201 GB, free: 3.004 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.936e-05/0.003334, allocations: 11.92 kB / 0.6201 GB, free: 2.992 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002356/0.00357, allocations: 19.92 kB / 0.6201 GB, free: 2.973 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 9.632e-05/0.003666, allocations: 43.84 kB / 0.6202 GB, free: 2.93 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001073/0.003773, allocations: 7.984 kB / 0.6202 GB, free: 2.922 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 7.824e-05/0.003852, allocations: 23.97 kB / 0.6202 GB, free: 2.898 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.461e-05/0.003906, allocations: 19.92 kB / 0.6202 GB, free: 2.879 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.029e-05/0.003926, allocations: 4 kB / 0.6202 GB, free: 2.875 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 7.479e-05/0.004001, allocations: 23.98 kB / 0.6203 GB, free: 2.852 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 5.293e-05/0.004054, allocations: 7.984 kB / 0.6203 GB, free: 2.844 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.046e-05/0.004085, allocations: 19.94 kB / 0.6203 GB, free: 2.824 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001517/0.004236, allocations: 63.78 kB / 0.6203 GB, free: 2.762 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.004238, allocations: 0 / 0.6203 GB, free: 2.762 MB / 0.5294 GB Notification: Performance of FrontEnd: time 7.12e-07/0.004239, allocations: 0 / 0.6203 GB, free: 2.762 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.586e-06/0.004243, allocations: 0 / 0.6203 GB, free: 2.762 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.0005717/0.004814, allocations: 310 kB / 0.6206 GB, free: 2.426 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.18e-05/0.004856, allocations: 13.47 kB / 0.6207 GB, free: 2.414 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002034/0.00506, allocations: 32.86 kB / 0.6207 GB, free: 2.383 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001197/0.005179, allocations: 113.7 kB / 0.6208 GB, free: 2.246 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.251e-05/0.005202, allocations: 4.375 kB / 0.6208 GB, free: 2.242 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.377e-05/0.005216, allocations: 4.375 kB / 0.6208 GB, free: 2.238 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002832/0.005499, allocations: 78.2 kB / 0.6209 GB, free: 2.156 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.308e-06/0.005508, allocations: 4.125 kB / 0.6209 GB, free: 2.152 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.898e-06/0.005518, allocations: 384 / 0.6209 GB, free: 2.152 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.728e-06/0.005528, allocations: 384 / 0.6209 GB, free: 2.152 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003353/0.005863, allocations: 87.84 kB / 0.621 GB, free: 2.066 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004194/0.006282, allocations: 240.5 kB / 0.6212 GB, free: 1.801 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000246/0.006528, allocations: 70.47 kB / 0.6213 GB, free: 1.723 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001742/0.006703, allocations: 48.91 kB / 0.6213 GB, free: 1.672 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.504e-05/0.006718, allocations: 0 / 0.6213 GB, free: 1.672 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.701e-05/0.006755, allocations: 38.55 kB / 0.6213 GB, free: 1.625 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 7.42e-07/0.006755, allocations: 0 / 0.6213 GB, free: 1.625 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0006138/0.007369, allocations: 161.4 kB / 0.6215 GB, free: 1.461 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.508e-05/0.007414, allocations: 55.39 kB / 0.6216 GB, free: 1.395 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001124/0.007527, allocations: 121.8 kB / 0.6217 GB, free: 1.266 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.033e-05/0.007547, allocations: 25.7 kB / 0.6217 GB, free: 1.234 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.561e-05/0.007613, allocations: 100.1 kB / 0.6218 GB, free: 1.133 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.025e-05/0.007633, allocations: 7.906 kB / 0.6218 GB, free: 1.125 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.3e-05/0.007676, allocations: 17.72 kB / 0.6218 GB, free: 1.102 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001359/0.007812, allocations: 318.8 kB / 0.6221 GB, free: 0.7812 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001677/0.007979, allocations: 39.95 kB / 0.6222 GB, free: 0.7422 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001558/0.008135, allocations: 43.95 kB / 0.6222 GB, free: 0.6992 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003206/0.008456, allocations: 76.78 kB / 0.6223 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.008457, allocations: 0 / 0.6223 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003744/0.008832, allocations: 125.5 kB / 0.6224 GB, free: 0.4922 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.008848, allocations: 11.94 kB / 0.6224 GB, free: 492 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.008854, allocations: 3.984 kB / 0.6224 GB, free: 488 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.008868, allocations: 336 / 0.6224 GB, free: 488 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001567/0.009024, allocations: 19.97 kB / 0.6224 GB, free: 468 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.558e-06/0.009029, allocations: 0 / 0.6224 GB, free: 468 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001006/0.009129, allocations: 11.98 kB / 0.6224 GB, free: 456 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.534e-06/0.009137, allocations: 0 / 0.6224 GB, free: 456 kB / 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 8.712e-05/0.009224, allocations: 122.8 kB / 0.6226 GB, free: 324 kB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.979e-05/0.009254, allocations: 7.953 kB / 0.6226 GB, free: 316 kB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.733e-05/0.009291, allocations: 15.92 kB / 0.6226 GB, free: 288 kB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.009293, allocations: 0 / 0.6226 GB, free: 288 kB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.009297, allocations: 0 / 0.6226 GB, free: 288 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.0093, allocations: 0 / 0.6226 GB, free: 288 kB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001559/0.009456, allocations: 125.3 kB / 0.6227 GB, free: 132 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.009457, allocations: 0 / 0.6227 GB, free: 132 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001123/0.009569, allocations: 11.98 kB / 0.6227 GB, free: 120 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.009571, allocations: 0 / 0.6227 GB, free: 120 kB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.884e-05/0.00959, allocations: 12 kB / 0.6227 GB, free: 108 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.009593, allocations: 3.938 kB / 0.6227 GB, free: 104 kB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.009593, allocations: 3.938 kB / 0.6227 GB, free: 100 kB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004289/0.01002, allocations: 211.4 kB / 0.6229 GB, free: 15.88 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.381e-05/0.01004, allocations: 7.953 kB / 0.6229 GB, free: 15.87 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.484e-05/0.01005, allocations: 0 / 0.6229 GB, free: 15.87 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001306/0.01018, allocations: 19.92 kB / 0.623 GB, free: 15.85 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.861e-05/0.01023, allocations: 3.984 kB / 0.623 GB, free: 15.84 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.613e-06/0.01024, allocations: 4 kB / 0.623 GB, free: 15.84 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.147e-05/0.01031, allocations: 106 kB / 0.6231 GB, free: 15.74 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.01031, allocations: 0 / 0.6231 GB, free: 15.74 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002216/0.01053, allocations: 11.94 kB / 0.6231 GB, free: 15.73 MB / 0.545 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.0001064/0.01064, allocations: 91.25 kB / 0.6232 GB, free: 15.63 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003765/0.01101, allocations: 91.84 kB / 0.6233 GB, free: 15.54 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.282e-06/0.01101, allocations: 0 / 0.6233 GB, free: 15.54 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001761/0.01119, allocations: 43.95 kB / 0.6233 GB, free: 15.5 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002404/0.01143, allocations: 4 kB / 0.6233 GB, free: 15.49 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003566/0.01179, allocations: 156.7 kB / 0.6234 GB, free: 15.31 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.569e-05/0.01186, allocations: 75.33 kB / 0.6235 GB, free: 15.22 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.018e-05/0.01189, allocations: 0 / 0.6235 GB, free: 15.22 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.501e-05/0.01194, allocations: 12.5 kB / 0.6235 GB, free: 15.21 MB / 0.545 GB Notification: Performance of SimCode: time 4.41e-07/0.01194, allocations: 0 / 0.6235 GB, free: 15.21 MB / 0.545 GB Notification: Performance of Templates: time 0.003607/0.01555, allocations: 0.8236 MB / 0.6243 GB, free: 14.4 MB / 0.545 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: 6.004692334681749] Failed to read output from testmodel.py, exit status != 0: 0.02392822504043579 0.037941074000000005 0.030827211 Calling exit ...