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.001294/0.001294, allocations: 80.88 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.001473/0.001473, allocations: 181 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 0.9681/0.9681, allocations: 177.1 MB / 203.8 MB, free: 5.453 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.8441/0.8441, allocations: 154.9 MB / 415.1 MB, free: 212 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.603e-06/1.603e-06, allocations: 0 / 480.4 MB, free: 6.566 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.595e-05/1.755e-05, allocations: 3.875 kB / 480.4 MB, free: 6.562 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.QuadraticLinear): time 0.00189/0.001908, allocations: 1.536 MB / 481.9 MB, free: 5.047 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002811/0.002189, allocations: 114.8 kB / 482 MB, free: 4.938 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.183e-05/0.002221, allocations: 0.5625 kB / 482 MB, free: 4.938 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 4.821e-05/0.002269, allocations: 8.547 kB / 482 MB, free: 4.93 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 6.259e-05/0.002332, allocations: 12.64 kB / 482 MB, free: 4.922 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002015/0.002533, allocations: 19.97 kB / 482 MB, free: 4.902 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 7.562e-05/0.002609, allocations: 45.81 kB / 482.1 MB, free: 4.867 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.186e-05/0.002681, allocations: 11.98 kB / 482.1 MB, free: 4.855 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.062e-05/0.002741, allocations: 26.86 kB / 482.1 MB, free: 4.832 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.012e-05/0.002781, allocations: 13.73 kB / 482.1 MB, free: 4.82 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.389e-05/0.002795, allocations: 4 kB / 482.1 MB, free: 4.816 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.836e-05/0.002854, allocations: 23.92 kB / 482.2 MB, free: 4.793 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 4.301e-05/0.002897, allocations: 15.23 kB / 482.2 MB, free: 4.781 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 2.206e-05/0.002919, allocations: 14.95 kB / 482.2 MB, free: 4.77 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001027/0.003021, allocations: 55.08 kB / 482.3 MB, free: 4.719 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.523e-06/0.003023, allocations: 0 / 482.3 MB, free: 4.719 MB / 442.7 MB Notification: Performance of FrontEnd: time 6.92e-07/0.003024, allocations: 0 / 482.3 MB, free: 4.719 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.665e-06/0.003026, allocations: 0.625 kB / 482.3 MB, free: 4.719 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.0002909/0.003317, allocations: 270.2 kB / 482.5 MB, free: 4.434 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.044e-05/0.003348, allocations: 12.02 kB / 482.5 MB, free: 4.422 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001453/0.003493, allocations: 25.77 kB / 482.6 MB, free: 4.398 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.646e-05/0.003569, allocations: 117.7 kB / 482.7 MB, free: 4.258 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.141e-05/0.003581, allocations: 5.75 kB / 482.7 MB, free: 4.254 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.092e-05/0.003592, allocations: 384 / 482.7 MB, free: 4.254 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001052/0.003697, allocations: 73.69 kB / 482.7 MB, free: 4.172 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.743e-06/0.003704, allocations: 0.6875 kB / 482.7 MB, free: 4.172 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.406e-06/0.003712, allocations: 4.375 kB / 482.8 MB, free: 4.168 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.59e-06/0.003718, allocations: 3.844 kB / 482.8 MB, free: 4.168 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.438e-05/0.003742, allocations: 11.94 kB / 482.8 MB, free: 4.156 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002049/0.003947, allocations: 172.3 kB / 482.9 MB, free: 3.973 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.663e-05/0.004013, allocations: 73.91 kB / 483 MB, free: 3.891 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.917e-05/0.004033, allocations: 8.859 kB / 483 MB, free: 3.879 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.346e-06/0.004041, allocations: 4.625 kB / 483 MB, free: 3.875 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.803e-05/0.004059, allocations: 30.56 kB / 483.1 MB, free: 3.836 MB / 442.7 MB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.00406, allocations: 0.5625 kB / 483.1 MB, free: 3.836 MB / 442.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001096/0.00417, allocations: 54.3 kB / 483.1 MB, free: 3.777 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.707e-05/0.004197, allocations: 56.06 kB / 483.2 MB, free: 3.711 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.776e-05/0.004264, allocations: 129.8 kB / 483.3 MB, free: 3.574 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 9.868e-06/0.004274, allocations: 26.61 kB / 483.3 MB, free: 3.543 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.894e-05/0.004303, allocations: 96.05 kB / 483.4 MB, free: 3.445 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.631e-05/0.00432, allocations: 11.91 kB / 483.4 MB, free: 3.434 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.454e-05/0.004344, allocations: 19.38 kB / 483.4 MB, free: 3.41 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.924e-05/0.004413, allocations: 318.8 kB / 483.7 MB, free: 3.09 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.405e-05/0.004427, allocations: 10.77 kB / 483.8 MB, free: 3.078 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.257e-05/0.00444, allocations: 8 kB / 483.8 MB, free: 3.07 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.982e-05/0.00447, allocations: 24.52 kB / 483.8 MB, free: 3.047 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.004472, allocations: 0 / 483.8 MB, free: 3.047 MB / 442.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 4.541e-05/0.004517, allocations: 38.69 kB / 483.8 MB, free: 3.004 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.298e-06/0.004527, allocations: 8 kB / 483.8 MB, free: 2.996 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.00453, allocations: 0 / 483.8 MB, free: 2.996 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.124e-05/0.004542, allocations: 5.25 kB / 483.8 MB, free: 2.992 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.738e-05/0.004609, allocations: 11.94 kB / 483.9 MB, free: 2.98 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.675e-06/0.004612, allocations: 0 / 483.9 MB, free: 2.98 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.509e-05/0.004637, allocations: 12.58 kB / 483.9 MB, free: 2.969 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.819e-06/0.004642, allocations: 0 / 483.9 MB, free: 2.969 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 4.823e-05/0.00469, allocations: 113.9 kB / 484 MB, free: 2.848 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.464e-05/0.004704, allocations: 8 kB / 484 MB, free: 2.84 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.075e-05/0.004725, allocations: 12.95 kB / 484 MB, free: 2.824 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.004728, allocations: 3.938 kB / 484 MB, free: 2.82 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.382e-06/0.004729, allocations: 0 / 484 MB, free: 2.82 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-06/0.004732, allocations: 1.156 kB / 484 MB, free: 2.82 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.283e-05/0.004814, allocations: 77.88 kB / 484.1 MB, free: 2.727 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.21e-07/0.004815, allocations: 0 / 484.1 MB, free: 2.727 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.681e-05/0.004842, allocations: 8.719 kB / 484.1 MB, free: 2.719 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.704e-06/0.004843, allocations: 3.984 kB / 484.1 MB, free: 2.715 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.448e-06/0.004848, allocations: 1.625 kB / 484.1 MB, free: 2.715 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.01e-07/0.004848, allocations: 0 / 484.1 MB, free: 2.715 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.004849, allocations: 0 / 484.1 MB, free: 2.715 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.427e-05/0.004933, allocations: 190.2 kB / 484.3 MB, free: 2.512 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.011e-06/0.004939, allocations: 5.766 kB / 484.3 MB, free: 2.508 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.106e-05/0.00495, allocations: 8 kB / 484.3 MB, free: 2.5 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.782e-05/0.004988, allocations: 7.984 kB / 484.3 MB, free: 2.492 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.54e-05/0.005014, allocations: 0 / 484.3 MB, free: 2.492 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.726e-06/0.005016, allocations: 3.938 kB / 484.3 MB, free: 2.488 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.641e-05/0.005033, allocations: 25.7 kB / 484.3 MB, free: 2.461 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005033, allocations: 0 / 484.3 MB, free: 2.461 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001168/0.00515, allocations: 12.59 kB / 484.3 MB, free: 2.449 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 7.244e-05/0.005222, allocations: 73.86 kB / 484.4 MB, free: 2.371 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 6.161e-05/0.005284, allocations: 16.84 kB / 484.4 MB, free: 2.352 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.005287, allocations: 7.938 kB / 484.4 MB, free: 2.344 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 1.907e-05/0.005306, allocations: 13.61 kB / 484.4 MB, free: 2.328 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001196/0.005425, allocations: 13.2 kB / 484.5 MB, free: 2.316 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002216/0.005647, allocations: 142.5 kB / 484.6 MB, free: 2.152 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.427e-05/0.005681, allocations: 63.28 kB / 484.7 MB, free: 2.07 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 1.981e-05/0.005701, allocations: 2.281 kB / 484.7 MB, free: 2.07 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.991e-05/0.005751, allocations: 51.38 kB / 484.7 MB, free: 2.02 MB / 442.7 MB Notification: Performance of SimCode: time 3.3e-07/0.005751, allocations: 0 / 484.7 MB, free: 2.02 MB / 442.7 MB Notification: Performance of Templates: time 0.002276/0.008028, allocations: 0.771 MB / 485.5 MB, free: 1.297 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 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6796023179776967]