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.001151/0.001151, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.001319/0.001319, allocations: 173 kB / 23.36 MB, free: 1.133 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 1.11/1.11, allocations: 177.1 MB / 203.8 MB, free: 5.469 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.7943/0.7943, allocations: 154.9 MB / 415.1 MB, free: 248 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 2.204e-06/2.204e-06, allocations: 0.875 kB / 480.4 MB, free: 6.523 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.467e-05/1.687e-05, allocations: 8.391 kB / 480.4 MB, free: 6.52 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.QuadraticLinear): time 0.002386/0.002403, allocations: 1.583 MB / 482 MB, free: 4.961 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002977/0.002701, allocations: 121.5 kB / 482.1 MB, free: 4.844 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.348e-05/0.002734, allocations: 0.625 kB / 482.1 MB, free: 4.844 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 4.123e-05/0.002776, allocations: 4.594 kB / 482.1 MB, free: 4.84 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 6.016e-05/0.002836, allocations: 10.55 kB / 482.1 MB, free: 4.836 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000181/0.003017, allocations: 23.91 kB / 482.1 MB, free: 4.812 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 8.54e-05/0.003102, allocations: 40.62 kB / 482.2 MB, free: 4.781 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.065e-05/0.003183, allocations: 15.97 kB / 482.2 MB, free: 4.766 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.976e-05/0.003253, allocations: 21.73 kB / 482.2 MB, free: 4.746 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.771e-05/0.0033, allocations: 21.17 kB / 482.2 MB, free: 4.727 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.48e-05/0.003315, allocations: 4.969 kB / 482.2 MB, free: 4.723 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.231e-05/0.003397, allocations: 16.75 kB / 482.3 MB, free: 4.707 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 5.043e-05/0.003448, allocations: 14.62 kB / 482.3 MB, free: 4.695 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 2.316e-05/0.003471, allocations: 15.5 kB / 482.3 MB, free: 4.684 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001256/0.003597, allocations: 54.41 kB / 482.3 MB, free: 4.633 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.352e-06/0.003598, allocations: 0 / 482.3 MB, free: 4.633 MB / 442.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.003599, allocations: 0 / 482.3 MB, free: 4.633 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.306e-06/0.003602, allocations: 0 / 482.3 MB, free: 4.633 MB / 442.7 MB 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.0003199/0.003922, allocations: 272.7 kB / 482.6 MB, free: 4.344 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.112e-05/0.003953, allocations: 8.031 kB / 482.6 MB, free: 4.336 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001585/0.004112, allocations: 25.73 kB / 482.6 MB, free: 4.312 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.244e-05/0.004204, allocations: 130.5 kB / 482.8 MB, free: 4.16 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.726e-06/0.004213, allocations: 4.375 kB / 482.8 MB, free: 4.156 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.725e-06/0.00422, allocations: 5 kB / 482.8 MB, free: 4.152 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001212/0.004342, allocations: 66.98 kB / 482.8 MB, free: 4.078 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.004349, allocations: 0.8906 kB / 482.8 MB, free: 4.078 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.544e-06/0.004357, allocations: 384 / 482.8 MB, free: 4.078 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.004362, allocations: 384 / 482.8 MB, free: 4.078 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.078e-05/0.004392, allocations: 12.53 kB / 482.9 MB, free: 4.066 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002489/0.004641, allocations: 172.2 kB / 483 MB, free: 3.883 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.875e-05/0.00471, allocations: 71.34 kB / 483.1 MB, free: 3.805 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.343e-05/0.004734, allocations: 9.516 kB / 483.1 MB, free: 3.793 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.181e-05/0.004745, allocations: 5.25 kB / 483.1 MB, free: 3.789 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.318e-05/0.004769, allocations: 34.55 kB / 483.1 MB, free: 3.746 MB / 442.7 MB Notification: Performance of pre-optimization done (n=3): time 8.22e-07/0.004769, allocations: 0 / 483.1 MB, free: 3.746 MB / 442.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001167/0.004886, allocations: 54.09 kB / 483.2 MB, free: 3.688 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006954/0.005581, allocations: 55.41 kB / 483.3 MB, free: 3.621 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.633e-05/0.005658, allocations: 128.6 kB / 483.4 MB, free: 3.484 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.297e-05/0.005671, allocations: 29.7 kB / 483.4 MB, free: 3.449 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.033e-05/0.005711, allocations: 92.11 kB / 483.5 MB, free: 3.355 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.275e-05/0.005734, allocations: 15.84 kB / 483.5 MB, free: 3.34 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.334e-05/0.005767, allocations: 9.719 kB / 483.5 MB, free: 3.324 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.403e-05/0.005861, allocations: 328 kB / 483.8 MB, free: 2.996 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.899e-05/0.00588, allocations: 6.828 kB / 483.9 MB, free: 2.988 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.623e-05/0.005896, allocations: 4 kB / 483.9 MB, free: 2.984 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.77e-05/0.005934, allocations: 16.88 kB / 483.9 MB, free: 2.965 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.005936, allocations: 4 kB / 483.9 MB, free: 2.961 MB / 442.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.227e-05/0.005998, allocations: 43.22 kB / 483.9 MB, free: 2.914 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.121e-05/0.006009, allocations: 8 kB / 483.9 MB, free: 2.906 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.006013, allocations: 0 / 483.9 MB, free: 2.906 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.147e-05/0.006025, allocations: 4.469 kB / 483.9 MB, free: 2.902 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.61e-05/0.006101, allocations: 9.094 kB / 483.9 MB, free: 2.895 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-06/0.006105, allocations: 3.984 kB / 483.9 MB, free: 2.891 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.596e-05/0.006141, allocations: 4.625 kB / 483.9 MB, free: 2.887 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.232e-06/0.006148, allocations: 0 / 483.9 MB, free: 2.887 MB / 442.7 MB 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.812e-05/0.006206, allocations: 113.3 kB / 484.1 MB, free: 2.766 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.307e-05/0.006229, allocations: 4.609 kB / 484.1 MB, free: 2.762 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.571e-05/0.006255, allocations: 17.22 kB / 484.1 MB, free: 2.746 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.006257, allocations: 4.562 kB / 484.1 MB, free: 2.742 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.00626, allocations: 4.625 kB / 484.1 MB, free: 2.738 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.006264, allocations: 0 / 484.1 MB, free: 2.738 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000127/0.006391, allocations: 78.5 kB / 484.2 MB, free: 2.645 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.006392, allocations: 0 / 484.2 MB, free: 2.645 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.494e-05/0.006436, allocations: 16.52 kB / 484.2 MB, free: 2.629 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.202e-06/0.006438, allocations: 0.8125 kB / 484.2 MB, free: 2.629 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.55e-06/0.006443, allocations: 0 / 484.2 MB, free: 2.629 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.52e-07/0.006444, allocations: 1.781 kB / 484.2 MB, free: 2.629 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.006445, allocations: 0 / 484.2 MB, free: 2.629 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001085/0.006553, allocations: 186.8 kB / 484.4 MB, free: 2.43 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.494e-06/0.006561, allocations: 3.953 kB / 484.4 MB, free: 2.426 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.184e-05/0.006573, allocations: 4 kB / 484.4 MB, free: 2.422 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.765e-05/0.00664, allocations: 17.14 kB / 484.4 MB, free: 2.406 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.988e-05/0.00667, allocations: 3.984 kB / 484.4 MB, free: 2.402 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.398e-06/0.006675, allocations: 3.938 kB / 484.4 MB, free: 2.398 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.399e-05/0.006699, allocations: 24.78 kB / 484.4 MB, free: 2.375 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006699, allocations: 0 / 484.4 MB, free: 2.375 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001861/0.006885, allocations: 8 kB / 484.4 MB, free: 2.367 MB / 442.7 MB 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.802e-05/0.006953, allocations: 81.69 kB / 484.5 MB, free: 2.281 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 6.62e-05/0.007019, allocations: 17.5 kB / 484.5 MB, free: 2.262 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.007022, allocations: 5.344 kB / 484.5 MB, free: 2.258 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 2.571e-05/0.007048, allocations: 8.859 kB / 484.5 MB, free: 2.246 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001645/0.007213, allocations: 13.83 kB / 484.6 MB, free: 2.234 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002643/0.007477, allocations: 150.3 kB / 484.7 MB, free: 2.062 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.262e-05/0.00752, allocations: 63.28 kB / 484.8 MB, free: 1.98 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.856e-05/0.007548, allocations: 1.344 kB / 484.8 MB, free: 1.98 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.216e-05/0.00761, allocations: 56.41 kB / 484.8 MB, free: 1.926 MB / 442.7 MB Notification: Performance of SimCode: time 5.01e-07/0.007611, allocations: 0 / 484.8 MB, free: 1.926 MB / 442.7 MB Notification: Performance of Templates: time 0.002458/0.01007, allocations: 0.7656 MB / 485.6 MB, free: 1.203 MB / 442.7 MB " [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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6593849509954453]