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.001074/0.001074, allocations: 77.06 kB / 9.98 MB, free: 0.7031 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001934/0.003008, allocations: 444 kB / 10.41 MB, free: 276 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.001143/0.001143, allocations: 157.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001599/0.002742, allocations: 475.6 kB / 11.79 MB, free: 2.371 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.001/1.001, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09869/1.1, allocations: 53.66 MB / 243.4 MB, free: 15.49 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.8997/0.8997, allocations: 155.3 MB / 399.5 MB, free: 15.8 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.33/1.23, allocations: 49.13 MB / 448.6 MB, free: 5.879 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.402e-06/1.402e-06, allocations: 0 / 450 MB, free: 4.562 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.227e-05/2.367e-05, allocations: 5.312 kB / 450 MB, free: 4.559 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.QuadraticLinear): time 0.002118/0.002142, allocations: 1.595 MB / 451.6 MB, free: 2.98 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001807/0.002323, allocations: 109.1 kB / 451.7 MB, free: 2.875 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.769e-05/0.002361, allocations: 4.656 kB / 451.7 MB, free: 2.871 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 3.465e-05/0.002395, allocations: 0.875 kB / 451.7 MB, free: 2.871 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 4.382e-05/0.002439, allocations: 12.45 kB / 451.7 MB, free: 2.863 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001047/0.002544, allocations: 24.73 kB / 451.7 MB, free: 2.84 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 9.221e-05/0.002636, allocations: 40.3 kB / 451.8 MB, free: 2.809 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001102/0.002746, allocations: 17.88 kB / 451.8 MB, free: 2.797 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.352e-05/0.00283, allocations: 33.72 kB / 451.8 MB, free: 2.766 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.441e-05/0.002894, allocations: 22.16 kB / 451.8 MB, free: 2.746 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.679e-05/0.002911, allocations: 4 kB / 451.8 MB, free: 2.742 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.374e-05/0.003005, allocations: 25.22 kB / 451.9 MB, free: 2.719 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 5.103e-05/0.003056, allocations: 8.156 kB / 451.9 MB, free: 2.715 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 2.365e-05/0.003079, allocations: 10.52 kB / 451.9 MB, free: 2.707 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000169/0.003248, allocations: 43.08 kB / 451.9 MB, free: 2.668 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.681e-05/0.003265, allocations: 0 / 451.9 MB, free: 2.668 MB / 426.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.003266, allocations: 0 / 451.9 MB, free: 2.668 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.358e-05/0.003279, allocations: 0.875 kB / 451.9 MB, free: 2.668 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.0005119/0.003791, allocations: 279.4 kB / 452.2 MB, free: 2.371 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/0.003828, allocations: 13.12 kB / 452.2 MB, free: 2.359 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002456/0.004074, allocations: 98.88 kB / 452.3 MB, free: 2.246 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001242/0.004198, allocations: 119.2 kB / 452.4 MB, free: 2.105 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.355e-05/0.004211, allocations: 2.219 kB / 452.4 MB, free: 2.105 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.55e-05/0.004227, allocations: 8.312 kB / 452.4 MB, free: 2.098 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001384/0.004365, allocations: 65.77 kB / 452.5 MB, free: 2.023 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/0.004374, allocations: 192 / 452.5 MB, free: 2.023 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.024e-05/0.004385, allocations: 5.703 kB / 452.5 MB, free: 2.02 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.004391, allocations: 384 / 452.5 MB, free: 2.02 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.577e-05/0.004417, allocations: 8.562 kB / 452.5 MB, free: 2.012 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002709/0.004688, allocations: 176.3 kB / 452.7 MB, free: 1.824 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.444e-05/0.004762, allocations: 77.84 kB / 452.7 MB, free: 1.738 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.187e-05/0.004784, allocations: 13.53 kB / 452.8 MB, free: 1.723 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.248e-06/0.004794, allocations: 0 / 452.8 MB, free: 1.723 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.376e-05/0.004817, allocations: 36.25 kB / 452.8 MB, free: 1.68 MB / 426.7 MB Notification: Performance of pre-optimization done (n=3): time 7.71e-07/0.004818, allocations: 0 / 452.8 MB, free: 1.68 MB / 426.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001197/0.004938, allocations: 46.47 kB / 452.8 MB, free: 1.629 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.958e-05/0.004967, allocations: 56 kB / 452.9 MB, free: 1.562 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.324e-05/0.005031, allocations: 128 kB / 453 MB, free: 1.426 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.509e-05/0.005046, allocations: 25.7 kB / 453 MB, free: 1.395 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.693e-05/0.005093, allocations: 95.03 kB / 453.1 MB, free: 1.301 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.984e-05/0.005122, allocations: 3.953 kB / 453.1 MB, free: 1.297 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.265e-05/0.005155, allocations: 18.34 kB / 453.2 MB, free: 1.273 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.278e-05/0.005248, allocations: 322.8 kB / 453.5 MB, free: 0.9492 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.84e-05/0.005266, allocations: 5.672 kB / 453.5 MB, free: 0.9453 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.31e-05/0.005279, allocations: 4 kB / 453.5 MB, free: 0.9414 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.848e-05/0.005318, allocations: 25.45 kB / 453.5 MB, free: 0.9141 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.00532, allocations: 0 / 453.5 MB, free: 0.9141 MB / 426.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.722e-05/0.005387, allocations: 45.62 kB / 453.6 MB, free: 0.8633 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.005401, allocations: 4 kB / 453.6 MB, free: 0.8594 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.005406, allocations: 0 / 453.6 MB, free: 0.8594 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.792e-05/0.005424, allocations: 9.984 kB / 453.6 MB, free: 0.8516 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.391e-05/0.005518, allocations: 11.98 kB / 453.6 MB, free: 0.8398 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.094e-06/0.00552, allocations: 0.7812 kB / 453.6 MB, free: 0.8398 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.541e-05/0.005546, allocations: 7.953 kB / 453.6 MB, free: 0.832 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.759e-06/0.005551, allocations: 0.5938 kB / 453.6 MB, free: 0.832 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.584e-05/0.005606, allocations: 113.7 kB / 453.7 MB, free: 0.7109 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.366e-05/0.00562, allocations: 3.984 kB / 453.7 MB, free: 0.707 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.751e-05/0.005648, allocations: 12 kB / 453.7 MB, free: 0.6875 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.005651, allocations: 4.562 kB / 453.7 MB, free: 0.6836 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.344e-06/0.005653, allocations: 4.625 kB / 453.7 MB, free: 0.6797 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.005656, allocations: 0 / 453.7 MB, free: 0.6797 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.675e-05/0.005742, allocations: 83.38 kB / 453.8 MB, free: 0.582 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.72e-07/0.005743, allocations: 0 / 453.8 MB, free: 0.582 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.382e-05/0.005777, allocations: 12.61 kB / 453.8 MB, free: 0.5703 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.089e-06/0.005782, allocations: 0.625 kB / 453.8 MB, free: 0.5703 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.005784, allocations: 0.6094 kB / 453.8 MB, free: 0.5703 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5e-06/0.005789, allocations: 4.625 kB / 453.8 MB, free: 0.5664 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.52e-07/0.00579, allocations: 0.5938 kB / 453.8 MB, free: 0.5664 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.005792, allocations: 3.938 kB / 453.8 MB, free: 0.5625 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.554e-05/0.005888, allocations: 185.6 kB / 454 MB, free: 376 kB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.897e-06/0.005896, allocations: 0 / 454 MB, free: 376 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.743e-05/0.005934, allocations: 9.766 kB / 454 MB, free: 368 kB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.959e-05/0.005963, allocations: 11.98 kB / 454 MB, free: 356 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.168e-06/0.005968, allocations: 3.938 kB / 454 MB, free: 352 kB / 426.7 MB Notification: Performance of sorting global known variables: time 1.85e-05/0.005986, allocations: 23.91 kB / 454.1 MB, free: 328 kB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.005986, allocations: 4 kB / 454.1 MB, free: 324 kB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001131/0.006099, allocations: 12.73 kB / 454.1 MB, free: 312 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 8.054e-05/0.00618, allocations: 81.41 kB / 454.2 MB, free: 224 kB / 426.7 MB Notification: Performance of simCode: created initialization part: time 6.451e-05/0.006244, allocations: 12.86 kB / 454.2 MB, free: 208 kB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/0.00625, allocations: 4.75 kB / 454.2 MB, free: 204 kB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 3.275e-05/0.006282, allocations: 20.78 kB / 454.2 MB, free: 180 kB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002151/0.006497, allocations: 60.62 kB / 454.3 MB, free: 108 kB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004579/0.006955, allocations: 160.1 kB / 454.4 MB, free: 15.93 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.611e-05/0.006991, allocations: 63.2 kB / 454.5 MB, free: 15.84 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.692e-05/0.007018, allocations: 1.188 kB / 454.5 MB, free: 15.84 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.292e-05/0.007081, allocations: 56.53 kB / 454.5 MB, free: 15.79 MB / 442.7 MB Notification: Performance of SimCode: time 9.82e-07/0.007082, allocations: 0 / 454.5 MB, free: 15.79 MB / 442.7 MB Notification: Performance of Templates: time 0.002216/0.009298, allocations: 0.7977 MB / 455.3 MB, free: 15.04 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.7720458144322038]