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.0009993/0.0009993, allocations: 93.06 kB / 19.65 MB, free: 276 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.001007/0.001007, allocations: 173 kB / 23.03 MB, free: 1.543 MB / 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 0.9929/0.9929, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.7991/0.7991, allocations: 154.9 MB / 414.8 MB, free: 408 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.233e-06/1.233e-06, allocations: 0.5469 kB / 0.5207 GB, free: 1.809 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.429e-05/1.552e-05, allocations: 8.422 kB / 0.5207 GB, free: 1.801 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.QuadraticLinear): time 0.00226/0.002276, allocations: 1.528 MB / 0.5222 GB, free: 288 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002697/0.002545, allocations: 113.1 kB / 0.5223 GB, free: 176 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.972e-05/0.002575, allocations: 0 / 0.5223 GB, free: 176 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 4.845e-05/0.002624, allocations: 7.875 kB / 0.5223 GB, free: 168 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 5.553e-05/0.002679, allocations: 8.906 kB / 0.5223 GB, free: 160 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002016/0.002881, allocations: 25.7 kB / 0.5223 GB, free: 136 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 7.739e-05/0.002958, allocations: 47.78 kB / 0.5224 GB, free: 88 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.746e-05/0.003036, allocations: 8 kB / 0.5224 GB, free: 80 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.377e-05/0.003089, allocations: 23.97 kB / 0.5224 GB, free: 56 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.209e-05/0.003131, allocations: 20.48 kB / 0.5224 GB, free: 36 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.473e-05/0.003146, allocations: 4 kB / 0.5224 GB, free: 32 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.81e-05/0.003204, allocations: 20.42 kB / 0.5225 GB, free: 12 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 4.019e-05/0.003244, allocations: 13.02 kB / 0.5225 GB, free: 0 / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.368e-05/0.003268, allocations: 19.97 kB / 0.5225 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001177/0.003386, allocations: 47.77 kB / 0.5225 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.973e-06/0.003388, allocations: 4.969 kB / 0.5225 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of FrontEnd: time 8.62e-07/0.003389, allocations: 0 / 0.5225 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.106e-06/0.003392, allocations: 0 / 0.5225 GB, free: 15.93 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.0003616/0.003753, allocations: 389 kB / 0.5229 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.637e-05/0.00379, allocations: 13.31 kB / 0.5229 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001742/0.003964, allocations: 29.52 kB / 0.523 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.19e-05/0.004046, allocations: 120.5 kB / 0.5231 GB, free: 15.33 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.06e-05/0.004056, allocations: 5.938 kB / 0.5231 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.478e-06/0.004066, allocations: 4.359 kB / 0.5231 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000134/0.0042, allocations: 74.86 kB / 0.5232 GB, free: 15.24 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.232e-06/0.004206, allocations: 0.75 kB / 0.5232 GB, free: 15.24 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.004217, allocations: 4.375 kB / 0.5232 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.004224, allocations: 1.812 kB / 0.5232 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.234e-05/0.004266, allocations: 11.94 kB / 0.5232 GB, free: 15.22 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003306/0.004597, allocations: 284.5 kB / 0.5234 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 7.912e-05/0.004676, allocations: 36.09 kB / 0.5235 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.419e-05/0.00471, allocations: 19.62 kB / 0.5235 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 8.556e-06/0.004718, allocations: 0 / 0.5235 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.022e-05/0.004739, allocations: 34.45 kB / 0.5235 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 6.51e-07/0.004739, allocations: 0 / 0.5235 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.0001632/0.004903, allocations: 60.14 kB / 0.5236 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.889e-05/0.004931, allocations: 55.41 kB / 0.5236 GB, free: 14.67 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.835e-05/0.00502, allocations: 181.9 kB / 0.5238 GB, free: 14.47 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 9.888e-06/0.00503, allocations: 25.7 kB / 0.5238 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.26e-05/0.005082, allocations: 142.9 kB / 0.524 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.81e-05/0.0051, allocations: 7.891 kB / 0.524 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.505e-05/0.005135, allocations: 23.38 kB / 0.524 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000115/0.00525, allocations: 0.49 MB / 0.5245 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.79e-05/0.005278, allocations: 11.92 kB / 0.5245 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.854e-05/0.005297, allocations: 4 kB / 0.5245 GB, free: 13.74 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.258e-05/0.00534, allocations: 19.69 kB / 0.5245 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.005341, allocations: 4.438 kB / 0.5245 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.013e-05/0.005422, allocations: 53.64 kB / 0.5246 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.101e-05/0.005433, allocations: 8.969 kB / 0.5246 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.005436, allocations: 0 / 0.5246 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.057e-05/0.005447, allocations: 1.125 kB / 0.5246 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.1e-05/0.005528, allocations: 11.98 kB / 0.5246 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.108e-06/0.005532, allocations: 3.938 kB / 0.5246 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.538e-05/0.005567, allocations: 8.625 kB / 0.5246 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.912e-06/0.005573, allocations: 5.031 kB / 0.5246 GB, free: 13.62 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.522e-05/0.005639, allocations: 156.6 kB / 0.5248 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.483e-05/0.005663, allocations: 8.922 kB / 0.5248 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.567e-05/0.005689, allocations: 11.94 kB / 0.5248 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.005691, allocations: 4 kB / 0.5248 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.367e-06/0.005695, allocations: 1.062 kB / 0.5248 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.005697, allocations: 336 / 0.5248 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001204/0.005818, allocations: 124.6 kB / 0.5249 GB, free: 13.28 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.00582, allocations: 4.672 kB / 0.5249 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.174e-05/0.005862, allocations: 10.75 kB / 0.5249 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.005864, allocations: 4 kB / 0.5249 GB, free: 13.26 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.592e-06/0.005871, allocations: 0 / 0.5249 GB, free: 13.26 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.005873, allocations: 3.938 kB / 0.5249 GB, free: 13.26 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.005875, allocations: 3.984 kB / 0.5249 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001224/0.005997, allocations: 203.8 kB / 0.5251 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.274e-06/0.006005, allocations: 3.984 kB / 0.5251 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.166e-05/0.006016, allocations: 4 kB / 0.5251 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.193e-05/0.006078, allocations: 10.91 kB / 0.5251 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.738e-05/0.006116, allocations: 3.984 kB / 0.5251 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.096e-06/0.006119, allocations: 0 / 0.5251 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 5.281e-05/0.006172, allocations: 142.2 kB / 0.5253 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8e-08/0.006172, allocations: 0 / 0.5253 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002189/0.006391, allocations: 15.95 kB / 0.5253 GB, free: 12.86 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 6.564e-05/0.006456, allocations: 92.75 kB / 0.5254 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 9.741e-05/0.006554, allocations: 27.67 kB / 0.5254 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.006555, allocations: 0 / 0.5254 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.113e-05/0.006586, allocations: 19.62 kB / 0.5254 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002294/0.006816, allocations: 17.22 kB / 0.5254 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000274/0.00709, allocations: 158 kB / 0.5256 GB, free: 12.51 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.197e-05/0.007132, allocations: 59.34 kB / 0.5257 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.562e-05/0.007157, allocations: 2.438 kB / 0.5257 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.312e-05/0.00719, allocations: 12.5 kB / 0.5257 GB, free: 12.42 MB / 0.4948 GB Notification: Performance of SimCode: time 4.01e-07/0.007191, allocations: 0 / 0.5257 GB, free: 12.42 MB / 0.4948 GB Notification: Performance of Templates: time 0.002568/0.009759, allocations: 0.8759 MB / 0.5265 GB, free: 11.58 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.7152715320698917]