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.0009803/0.0009803, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009375/0.001918, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0006965/0.0006965, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001149/0.001846, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.007/1.007, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1025/1.109, allocations: 53.65 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-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 4.0.0-master/package.mo): time 0.7601/0.7601, allocations: 155.3 MB / 399.2 MB, free: 15.93 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2681/1.028, allocations: 49.13 MB / 448.4 MB, free: 6.02 MB / 426.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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.383e-06/1.383e-06, allocations: 0 / 449.7 MB, free: 4.719 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.117e-05/2.255e-05, allocations: 5.922 kB / 449.7 MB, free: 4.715 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.QuadraticLinear): time 0.002319/0.002342, allocations: 1.587 MB / 451.3 MB, free: 3.148 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001958/0.002537, allocations: 112.9 kB / 451.4 MB, free: 3.039 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.392e-05/0.002571, allocations: 4 kB / 451.4 MB, free: 3.035 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 3.444e-05/0.002606, allocations: 3.938 kB / 451.4 MB, free: 3.031 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 4.489e-05/0.002651, allocations: 8.297 kB / 451.4 MB, free: 3.027 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001086/0.002759, allocations: 24.94 kB / 451.4 MB, free: 3.004 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 8.497e-05/0.002844, allocations: 44.19 kB / 451.5 MB, free: 2.969 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.171e-05/0.002926, allocations: 9.453 kB / 451.5 MB, free: 2.961 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.936e-05/0.003005, allocations: 37.83 kB / 451.5 MB, free: 2.93 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.514e-05/0.00305, allocations: 14.06 kB / 451.5 MB, free: 2.918 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.447e-05/0.003065, allocations: 5.906 kB / 451.5 MB, free: 2.914 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.986e-05/0.003145, allocations: 23.91 kB / 451.6 MB, free: 2.891 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 3.671e-05/0.003181, allocations: 11.5 kB / 451.6 MB, free: 2.883 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 2.007e-05/0.003202, allocations: 9.75 kB / 451.6 MB, free: 2.875 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001165/0.003318, allocations: 54.56 kB / 451.6 MB, free: 2.824 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00306/0.006378, allocations: 0.9062 kB / 451.6 MB, free: 2.824 MB / 426.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.006379, allocations: 0 / 451.6 MB, free: 2.824 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.761e-05/0.006397, allocations: 0 / 451.6 MB, free: 2.824 MB / 426.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.0003931/0.00679, allocations: 271.5 kB / 451.9 MB, free: 2.535 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.101e-05/0.006821, allocations: 8.906 kB / 451.9 MB, free: 2.527 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002063/0.007027, allocations: 106.5 kB / 452 MB, free: 2.406 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.479e-05/0.007112, allocations: 118.2 kB / 452.1 MB, free: 2.266 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.094e-05/0.007123, allocations: 2.688 kB / 452.1 MB, free: 2.266 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.614e-06/0.007131, allocations: 384 / 452.1 MB, free: 2.266 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001284/0.007259, allocations: 77.69 kB / 452.2 MB, free: 2.18 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.482e-06/0.007265, allocations: 0.875 kB / 452.2 MB, free: 2.18 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.734e-06/0.007273, allocations: 384 / 452.2 MB, free: 2.18 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.002e-05/0.007283, allocations: 2.344 kB / 452.2 MB, free: 2.18 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.194e-05/0.007315, allocations: 11.94 kB / 452.2 MB, free: 2.168 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002454/0.00756, allocations: 171.9 kB / 452.4 MB, free: 1.984 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.713e-05/0.007638, allocations: 73.81 kB / 452.5 MB, free: 1.902 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.268e-05/0.00766, allocations: 13.55 kB / 452.5 MB, free: 1.887 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.654e-06/0.007668, allocations: 4 kB / 452.5 MB, free: 1.883 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.062e-05/0.007689, allocations: 32.22 kB / 452.5 MB, free: 1.844 MB / 426.7 MB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.00769, allocations: 0 / 452.5 MB, free: 1.844 MB / 426.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001276/0.007817, allocations: 50.56 kB / 452.6 MB, free: 1.789 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.095e-05/0.007848, allocations: 51.41 kB / 452.6 MB, free: 1.727 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.87e-05/0.007917, allocations: 127.4 kB / 452.7 MB, free: 1.59 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.054e-05/0.007927, allocations: 25.7 kB / 452.8 MB, free: 1.559 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.562e-05/0.007963, allocations: 102.7 kB / 452.9 MB, free: 1.457 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.852e-05/0.007982, allocations: 3.953 kB / 452.9 MB, free: 1.453 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.482e-05/0.008016, allocations: 14.31 kB / 452.9 MB, free: 1.434 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.012e-05/0.008096, allocations: 318.8 kB / 453.2 MB, free: 1.113 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.099e-05/0.008117, allocations: 12.25 kB / 453.2 MB, free: 1.102 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.32e-05/0.008131, allocations: 4 kB / 453.2 MB, free: 1.098 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.44e-05/0.008165, allocations: 16.39 kB / 453.2 MB, free: 1.078 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.008167, allocations: 0 / 453.2 MB, free: 1.078 MB / 426.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.444e-05/0.008242, allocations: 46.41 kB / 453.3 MB, free: 1.027 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/0.008254, allocations: 7.984 kB / 453.3 MB, free: 1.02 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.00826, allocations: 5.438 kB / 453.3 MB, free: 1.016 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.088e-05/0.008271, allocations: 4.453 kB / 453.3 MB, free: 1.012 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.596e-05/0.008357, allocations: 11.94 kB / 453.3 MB, free: 1 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.485e-06/0.008359, allocations: 0.8438 kB / 453.3 MB, free: 1 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.674e-05/0.008396, allocations: 15.94 kB / 453.3 MB, free: 0.9844 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-06/0.008403, allocations: 4.656 kB / 453.3 MB, free: 0.9805 MB / 426.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.551e-05/0.008458, allocations: 109.5 kB / 453.4 MB, free: 0.8633 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.098e-05/0.008479, allocations: 4 kB / 453.4 MB, free: 0.8594 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.795e-05/0.008507, allocations: 11.98 kB / 453.4 MB, free: 0.8438 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.008511, allocations: 7.422 kB / 453.5 MB, free: 0.8398 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.392e-06/0.008512, allocations: 1.5 kB / 453.5 MB, free: 0.8398 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.008514, allocations: 4 kB / 453.5 MB, free: 0.8359 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001099/0.008624, allocations: 73.88 kB / 453.5 MB, free: 0.7461 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.008626, allocations: 0 / 453.5 MB, free: 0.7461 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.538e-05/0.008671, allocations: 14.09 kB / 453.5 MB, free: 0.7344 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.666e-06/0.00868, allocations: 7.984 kB / 453.6 MB, free: 0.7266 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.163e-06/0.008681, allocations: 0 / 453.6 MB, free: 0.7266 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.541e-06/0.008686, allocations: 0 / 453.6 MB, free: 0.7266 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.02e-07/0.008687, allocations: 0 / 453.6 MB, free: 0.7266 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.008689, allocations: 3.938 kB / 453.6 MB, free: 0.7227 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001199/0.008809, allocations: 187.1 kB / 453.7 MB, free: 0.5234 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.038e-05/0.00882, allocations: 0 / 453.7 MB, free: 0.5234 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.945e-05/0.008879, allocations: 9.172 kB / 453.8 MB, free: 0.5156 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.859e-05/0.008908, allocations: 4 kB / 453.8 MB, free: 0.5117 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.202e-06/0.008914, allocations: 7.938 kB / 453.8 MB, free: 0.5039 MB / 426.7 MB Notification: Performance of sorting global known variables: time 2.315e-05/0.008937, allocations: 22.45 kB / 453.8 MB, free: 492 kB / 426.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.008937, allocations: 0 / 453.8 MB, free: 492 kB / 426.7 MB Notification: Performance of remove unused functions: time 0.002217/0.01115, allocations: 12.55 kB / 453.8 MB, free: 480 kB / 426.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 0.0001026/0.01126, allocations: 73.08 kB / 453.9 MB, free: 400 kB / 426.7 MB Notification: Performance of simCode: created initialization part: time 8.018e-05/0.01134, allocations: 21.38 kB / 453.9 MB, free: 376 kB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.232e-06/0.01134, allocations: 0.5625 kB / 453.9 MB, free: 376 kB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 2.578e-05/0.01137, allocations: 21.42 kB / 453.9 MB, free: 352 kB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001778/0.01155, allocations: 12.75 kB / 453.9 MB, free: 340 kB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004171/0.01196, allocations: 159.6 kB / 454.1 MB, free: 156 kB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.894e-05/0.012, allocations: 63.2 kB / 454.1 MB, free: 72 kB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.9e-05/0.01203, allocations: 1.625 kB / 454.1 MB, free: 72 kB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.752e-05/0.0121, allocations: 59.38 kB / 454.2 MB, free: 12 kB / 426.7 MB Notification: Performance of SimCode: time 6.51e-07/0.0121, allocations: 1 kB / 454.2 MB, free: 12 kB / 426.7 MB Notification: Performance of Templates: time 0.002466/0.01457, allocations: 0.7893 MB / 455 MB, free: 15.27 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.4928184393793344]