Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.VectorFunctions.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.0009691/0.0009691, allocations: 80.75 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.001474/0.001474, 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.484 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.9278/0.9278, allocations: 154.9 MB / 415.1 MB, free: 256 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.VectorFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.VectorFunctions") translateModel(IDEAS.Utilities.Math.Examples.VectorFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.VectorFunctions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.132e-06/1.132e-06, allocations: 0 / 480.4 MB, free: 6.48 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.401e-05/1.514e-05, allocations: 3.031 kB / 480.4 MB, free: 6.477 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.VectorFunctions): time 0.002157/0.002173, allocations: 1.695 MB / 482.1 MB, free: 4.816 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009589/0.003131, allocations: 0.6016 MB / 482.7 MB, free: 4.223 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.364e-05/0.003205, allocations: 0.6562 kB / 482.7 MB, free: 4.223 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001104/0.003316, allocations: 13.06 kB / 482.7 MB, free: 4.211 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 4.942e-05/0.003365, allocations: 20.58 kB / 482.7 MB, free: 4.199 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002903/0.003655, allocations: 59.84 kB / 482.8 MB, free: 4.141 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001623/0.003818, allocations: 92.38 kB / 482.9 MB, free: 4.059 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001392/0.003957, allocations: 31.84 kB / 482.9 MB, free: 4.027 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001396/0.004096, allocations: 59.88 kB / 483 MB, free: 3.969 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.27e-05/0.004159, allocations: 29.06 kB / 483 MB, free: 3.941 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.603e-05/0.004175, allocations: 8 kB / 483 MB, free: 3.934 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.85e-05/0.004243, allocations: 19.98 kB / 483 MB, free: 3.914 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 3.3e-05/0.004276, allocations: 24.41 kB / 483.1 MB, free: 3.891 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 2.641e-05/0.004303, allocations: 25.64 kB / 483.1 MB, free: 3.867 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001212/0.004424, allocations: 83.59 kB / 483.2 MB, free: 3.785 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.573e-06/0.004426, allocations: 0 / 483.2 MB, free: 3.785 MB / 442.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.004426, allocations: 0 / 483.2 MB, free: 3.785 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.376e-06/0.00443, allocations: 0 / 483.2 MB, free: 3.785 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0003188/0.004748, allocations: 305.8 kB / 483.5 MB, free: 3.469 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.277e-05/0.004781, allocations: 12.03 kB / 483.5 MB, free: 3.457 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001574/0.004939, allocations: 37.55 kB / 483.5 MB, free: 3.422 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003834/0.005322, allocations: 147.4 kB / 483.7 MB, free: 3.254 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.787e-06/0.005331, allocations: 4.375 kB / 483.7 MB, free: 3.25 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.628e-06/0.00534, allocations: 11.69 kB / 483.7 MB, free: 3.242 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001278/0.005468, allocations: 93.67 kB / 483.8 MB, free: 3.141 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.005477, allocations: 5.344 kB / 483.8 MB, free: 3.137 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.983e-06/0.005484, allocations: 0 / 483.8 MB, free: 3.137 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.00549, allocations: 0 / 483.8 MB, free: 3.137 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.424e-05/0.005524, allocations: 19.98 kB / 483.8 MB, free: 3.117 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002849/0.005809, allocations: 229.7 kB / 484 MB, free: 2.875 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.946e-05/0.005858, allocations: 71.39 kB / 484.1 MB, free: 2.797 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.118e-05/0.005879, allocations: 12.86 kB / 484.1 MB, free: 2.781 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.226e-05/0.005902, allocations: 0 / 484.1 MB, free: 2.781 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.068e-05/0.005922, allocations: 39.42 kB / 484.1 MB, free: 2.734 MB / 442.7 MB Notification: Performance of pre-optimization done (n=6): time 6.42e-07/0.005923, allocations: 0 / 484.1 MB, free: 2.734 MB / 442.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001289/0.006052, allocations: 62.66 kB / 484.2 MB, free: 2.668 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.824e-05/0.00608, allocations: 55.41 kB / 484.2 MB, free: 2.602 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.342e-05/0.006154, allocations: 139.2 kB / 484.4 MB, free: 2.453 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.043e-05/0.006164, allocations: 29.7 kB / 484.4 MB, free: 2.418 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.597e-05/0.0062, allocations: 100.7 kB / 484.5 MB, free: 2.316 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.19e-05/0.006222, allocations: 15.94 kB / 484.5 MB, free: 2.301 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.124e-05/0.006253, allocations: 26.33 kB / 484.5 MB, free: 2.27 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.253e-05/0.006336, allocations: 323.4 kB / 484.9 MB, free: 1.945 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.818e-05/0.006354, allocations: 14.81 kB / 484.9 MB, free: 1.93 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.346e-05/0.006367, allocations: 4.625 kB / 484.9 MB, free: 1.926 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.411e-05/0.006411, allocations: 34.44 kB / 484.9 MB, free: 1.887 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.006413, allocations: 0.625 kB / 484.9 MB, free: 1.887 MB / 442.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 6.668e-05/0.00648, allocations: 58.23 kB / 485 MB, free: 1.824 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.708e-06/0.00649, allocations: 4 kB / 485 MB, free: 1.82 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.006494, allocations: 0.6875 kB / 485 MB, free: 1.82 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.006507, allocations: 0 / 485 MB, free: 1.82 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.412e-05/0.006581, allocations: 17.77 kB / 485 MB, free: 1.805 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.076e-06/0.006584, allocations: 0 / 485 MB, free: 1.805 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.161e-05/0.006615, allocations: 16.81 kB / 485 MB, free: 1.789 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.658e-05/0.006632, allocations: 4 kB / 485 MB, free: 1.785 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 (6): * Single equations (assignments): 6 * 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.581e-05/0.006698, allocations: 117.4 kB / 485.1 MB, free: 1.66 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.984e-05/0.006718, allocations: 8.875 kB / 485.1 MB, free: 1.652 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001209/0.006839, allocations: 74.88 kB / 485.2 MB, free: 1.574 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.006841, allocations: 0 / 485.2 MB, free: 1.574 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.385e-06/0.006843, allocations: 4.562 kB / 485.2 MB, free: 1.57 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.006848, allocations: 6.328 kB / 485.2 MB, free: 1.566 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001113/0.006959, allocations: 93.73 kB / 485.3 MB, free: 1.457 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.694e-06/0.006961, allocations: 0 / 485.3 MB, free: 1.457 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.638e-05/0.007008, allocations: 20.88 kB / 485.3 MB, free: 1.438 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.352e-06/0.007009, allocations: 0 / 485.3 MB, free: 1.438 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.192e-06/0.007015, allocations: 0 / 485.3 MB, free: 1.438 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.007018, allocations: 7.984 kB / 485.3 MB, free: 1.43 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.007019, allocations: 1.5 kB / 485.3 MB, free: 1.43 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001021/0.007121, allocations: 194.2 kB / 485.5 MB, free: 1.223 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.127e-05/0.007132, allocations: 11.94 kB / 485.5 MB, free: 1.211 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.18e-05/0.007144, allocations: 4 kB / 485.5 MB, free: 1.207 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.806e-05/0.007182, allocations: 5.906 kB / 485.6 MB, free: 1.203 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.578e-05/0.007218, allocations: 7.984 kB / 485.6 MB, free: 1.195 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.041e-06/0.007224, allocations: 0 / 485.6 MB, free: 1.195 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.693e-05/0.007251, allocations: 33.58 kB / 485.6 MB, free: 1.16 MB / 442.7 MB Notification: Performance of sort global known variables: time 4e-08/0.007251, allocations: 0 / 485.6 MB, free: 1.16 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.000133/0.007384, allocations: 20.67 kB / 485.6 MB, free: 1.141 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 (6): * Single equations (assignments): 6 * 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.825e-05/0.007462, allocations: 77.27 kB / 485.7 MB, free: 1.059 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 7.676e-05/0.007539, allocations: 37.94 kB / 485.7 MB, free: 1.02 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.007541, allocations: 0 / 485.7 MB, free: 1.02 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 2.458e-05/0.007566, allocations: 20.84 kB / 485.7 MB, free: 0.9961 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001094/0.007675, allocations: 9.094 kB / 485.8 MB, free: 0.9883 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003853/0.00806, allocations: 212.1 kB / 486 MB, free: 0.75 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.477e-05/0.008095, allocations: 69.11 kB / 486 MB, free: 0.6641 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.686e-05/0.008122, allocations: 16.62 kB / 486 MB, free: 0.6523 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.952e-05/0.008161, allocations: 52.12 kB / 486.1 MB, free: 0.6016 MB / 442.7 MB Notification: Performance of SimCode: time 4.41e-07/0.008162, allocations: 0 / 486.1 MB, free: 0.6016 MB / 442.7 MB Notification: Performance of Templates: time 0.002143/0.0103, allocations: 0.6996 MB / 486.8 MB, free: 15.95 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.VectorFunctions.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.VectorFunctions.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.VectorFunctions.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.VectorFunctions.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.VectorFunctions.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.VectorFunctions -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.VectorFunctions.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.874538830947131]