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.001383/0.001383, allocations: 77.09 kB / 20.66 MB, free: 3.844 MB / 18.57 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.001314/0.001314, allocations: 177 kB / 24.07 MB, free: 448 kB / 18.57 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.026/1.026, allocations: 177.1 MB / 204.5 MB, free: 5.527 MB / 186.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-535:34: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-535:42: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.8955/0.8955, allocations: 154.9 MB / 415.9 MB, free: 244 kB / 378.7 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 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: Performance of FrontEnd - loaded program: time 1.934e-06/1.934e-06, allocations: 0 / 0.5219 GB, free: 1.578 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.739e-05/2.933e-05, allocations: 6.141 kB / 0.5219 GB, free: 1.574 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.QuadraticLinear): time 0.002893/0.002922, allocations: 1.538 MB / 0.5234 GB, free: 48 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003731/0.003295, allocations: 111.7 kB / 0.5235 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.42e-05/0.00334, allocations: 0.5 kB / 0.5235 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 5.859e-05/0.003398, allocations: 4.469 kB / 0.5235 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 7.334e-05/0.003472, allocations: 16.81 kB / 0.5235 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002414/0.003713, allocations: 19.98 kB / 0.5235 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 9.607e-05/0.003809, allocations: 45.47 kB / 0.5236 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001139/0.003923, allocations: 8 kB / 0.5236 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 8.311e-05/0.004006, allocations: 23.97 kB / 0.5236 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 6.375e-05/0.00407, allocations: 23.91 kB / 0.5236 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.026e-05/0.00409, allocations: 0.9375 kB / 0.5236 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 8.91e-05/0.004179, allocations: 23.92 kB / 0.5237 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 5.912e-05/0.004238, allocations: 11.98 kB / 0.5237 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 2.722e-05/0.004265, allocations: 13.34 kB / 0.5237 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001673/0.004433, allocations: 55.8 kB / 0.5237 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.004437, allocations: 0 / 0.5237 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.092e-06/0.004438, allocations: 0 / 0.5237 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.552e-06/0.004444, allocations: 1.156 kB / 0.5237 GB, free: 15.7 MB / 0.4948 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.000534/0.004978, allocations: 392.4 kB / 0.5241 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.373e-05/0.005032, allocations: 8.719 kB / 0.5241 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002413/0.005273, allocations: 30.16 kB / 0.5242 GB, free: 15.24 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001188/0.005392, allocations: 124.5 kB / 0.5243 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.822e-05/0.00545, allocations: 1.562 kB / 0.5243 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.749e-05/0.005468, allocations: 384 / 0.5243 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00017/0.005638, allocations: 70.88 kB / 0.5243 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.005647, allocations: 0.7812 kB / 0.5243 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.895e-06/0.005655, allocations: 2.25 kB / 0.5243 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.381e-06/0.00566, allocations: 384 / 0.5243 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.94e-05/0.005689, allocations: 15.92 kB / 0.5244 GB, free: 15 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003203/0.00601, allocations: 262.1 kB / 0.5246 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 6.919e-05/0.006079, allocations: 35 kB / 0.5246 GB, free: 14.67 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.236e-05/0.006101, allocations: 11.69 kB / 0.5247 GB, free: 14.65 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 9.478e-06/0.006111, allocations: 0 / 0.5247 GB, free: 14.65 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.291e-05/0.006134, allocations: 38.86 kB / 0.5247 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 8.92e-07/0.006134, allocations: 0 / 0.5247 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.000143/0.006277, allocations: 53.67 kB / 0.5247 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.068e-05/0.006308, allocations: 55.41 kB / 0.5248 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.217e-05/0.0064, allocations: 186 kB / 0.525 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.04e-05/0.006411, allocations: 25.7 kB / 0.525 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.491e-05/0.006466, allocations: 156.2 kB / 0.5251 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.103e-05/0.006487, allocations: 7.891 kB / 0.5252 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.232e-05/0.006519, allocations: 19.38 kB / 0.5252 GB, free: 14.06 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001192/0.006638, allocations: 0.4883 MB / 0.5256 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.684e-05/0.006655, allocations: 8.484 kB / 0.5257 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.177e-05/0.006667, allocations: 4 kB / 0.5257 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.233e-05/0.006699, allocations: 16.72 kB / 0.5257 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.006701, allocations: 0 / 0.5257 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.488e-05/0.006766, allocations: 51.16 kB / 0.5257 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.006779, allocations: 4 kB / 0.5257 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.006785, allocations: 0 / 0.5257 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.157e-05/0.006796, allocations: 5.719 kB / 0.5257 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.511e-05/0.006871, allocations: 15.92 kB / 0.5258 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.806e-06/0.006874, allocations: 4 kB / 0.5258 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.795e-05/0.006902, allocations: 8 kB / 0.5258 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.704e-06/0.00691, allocations: 4 kB / 0.5258 GB, free: 13.44 MB / 0.4948 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.49e-05/0.006975, allocations: 158.4 kB / 0.5259 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.949e-05/0.006994, allocations: 11.94 kB / 0.5259 GB, free: 13.26 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.33e-05/0.007017, allocations: 11.98 kB / 0.5259 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.00702, allocations: 3.938 kB / 0.5259 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-06/0.007023, allocations: 6.094 kB / 0.5259 GB, free: 13.24 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.007026, allocations: 0 / 0.5259 GB, free: 13.24 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001002/0.007126, allocations: 109.2 kB / 0.5261 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.21e-07/0.007127, allocations: 0 / 0.5261 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.201e-05/0.007159, allocations: 8 kB / 0.5261 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.81e-07/0.007159, allocations: 2.438 kB / 0.5261 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.823e-06/0.007166, allocations: 3.984 kB / 0.5261 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.61e-07/0.007167, allocations: 0 / 0.5261 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.007168, allocations: 0 / 0.5261 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001108/0.007278, allocations: 203.8 kB / 0.5263 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.305e-06/0.007287, allocations: 4 kB / 0.5263 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.776e-06/0.007296, allocations: 0 / 0.5263 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.025e-05/0.007336, allocations: 6.156 kB / 0.5263 GB, free: 12.87 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.131e-05/0.007367, allocations: 7.922 kB / 0.5263 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.305e-06/0.007369, allocations: 0 / 0.5263 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.38e-05/0.007413, allocations: 143.2 kB / 0.5264 GB, free: 12.72 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.007413, allocations: 0 / 0.5264 GB, free: 12.72 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.000142/0.007555, allocations: 12.98 kB / 0.5264 GB, free: 12.71 MB / 0.4948 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 9.252e-05/0.007648, allocations: 95.19 kB / 0.5265 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 7.54e-05/0.007723, allocations: 24.61 kB / 0.5265 GB, free: 12.58 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.432e-06/0.007725, allocations: 0 / 0.5265 GB, free: 12.58 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.403e-05/0.007749, allocations: 22.88 kB / 0.5266 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001986/0.007947, allocations: 11.98 kB / 0.5266 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002781/0.008225, allocations: 146 kB / 0.5267 GB, free: 12.37 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.58e-05/0.008261, allocations: 59.34 kB / 0.5268 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.64e-05/0.008288, allocations: 6.781 kB / 0.5268 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.11e-05/0.008349, allocations: 70.2 kB / 0.5268 GB, free: 12.22 MB / 0.4948 GB Notification: Performance of SimCode: time 6.31e-07/0.008349, allocations: 0 / 0.5268 GB, free: 12.22 MB / 0.4948 GB Notification: Performance of Templates: time 0.002451/0.0108, allocations: 0.9221 MB / 0.5277 GB, free: 11.34 MB / 0.4948 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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.819387710187584]