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.0009847/0.0009847, allocations: 73.88 kB / 20.66 MB, free: 3.844 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.0009172/0.0009172, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.107/1.107, allocations: 177.1 MB / 204.5 MB, free: 5.492 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.7726/0.7726, allocations: 154.9 MB / 415.9 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.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.342e-06/1.342e-06, allocations: 0 / 0.5219 GB, free: 1.5 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.683e-05/1.817e-05, allocations: 7.625 kB / 0.5219 GB, free: 1.496 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.VectorFunctions): time 0.005577/0.005595, allocations: 1.644 MB / 0.5235 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.0009308/0.006526, allocations: 0.5777 MB / 0.5241 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.816e-05/0.006594, allocations: 7.938 kB / 0.5241 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001162/0.00671, allocations: 13.33 kB / 0.5241 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 4.23e-05/0.006753, allocations: 19.8 kB / 0.5241 GB, free: 15.24 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002715/0.007024, allocations: 57.05 kB / 0.5242 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.000133/0.007157, allocations: 87.7 kB / 0.5242 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001297/0.007287, allocations: 35.52 kB / 0.5243 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001403/0.007427, allocations: 63.81 kB / 0.5243 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 6.323e-05/0.00749, allocations: 27.91 kB / 0.5244 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.782e-05/0.007508, allocations: 8 kB / 0.5244 GB, free: 14.97 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 5.991e-05/0.007568, allocations: 16 kB / 0.5244 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 4.056e-05/0.007609, allocations: 23.91 kB / 0.5244 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 3.041e-05/0.007639, allocations: 19.92 kB / 0.5244 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.003177/0.01082, allocations: 87.64 kB / 0.5245 GB, free: 14.83 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.01082, allocations: 4 kB / 0.5245 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of FrontEnd: time 5.71e-07/0.01082, allocations: 0.5312 kB / 0.5245 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.488e-06/0.01082, allocations: 0 / 0.5245 GB, free: 14.82 MB / 0.4948 GB 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.0004258/0.01125, allocations: 428.6 kB / 0.5249 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.33e-05/0.01128, allocations: 8.594 kB / 0.5249 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002104/0.01149, allocations: 45.7 kB / 0.525 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001741/0.01167, allocations: 147.2 kB / 0.5251 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.321e-05/0.01168, allocations: 12.36 kB / 0.5251 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.166e-05/0.01169, allocations: 4.375 kB / 0.5251 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001441/0.01184, allocations: 85.47 kB / 0.5252 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.01185, allocations: 4.469 kB / 0.5252 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.318e-06/0.01186, allocations: 0 / 0.5252 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.874e-06/0.01186, allocations: 4.719 kB / 0.5252 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.022e-05/0.01191, allocations: 19.92 kB / 0.5252 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004058/0.01232, allocations: 322 kB / 0.5256 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 6.305e-05/0.01238, allocations: 42.98 kB / 0.5256 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.338e-05/0.01242, allocations: 19.81 kB / 0.5256 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.04e-05/0.01245, allocations: 8.547 kB / 0.5256 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.334e-05/0.01247, allocations: 34.27 kB / 0.5257 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=6): time 1.433e-06/0.01247, allocations: 0 / 0.5257 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of matching and sorting (n=6): time 0.000201/0.01267, allocations: 69.58 kB / 0.5257 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.305e-05/0.0127, allocations: 64.83 kB / 0.5258 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001143/0.01282, allocations: 187.4 kB / 0.526 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.402e-05/0.01283, allocations: 25.7 kB / 0.526 GB, free: 13.17 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.281e-05/0.0129, allocations: 155.5 kB / 0.5261 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.649e-05/0.01292, allocations: 23.92 kB / 0.5262 GB, free: 12.99 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.253e-05/0.01297, allocations: 29.45 kB / 0.5262 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001485/0.01311, allocations: 0.4923 MB / 0.5267 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.227e-05/0.01314, allocations: 4 kB / 0.5267 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.349e-05/0.01316, allocations: 16.23 kB / 0.5267 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.419e-05/0.01321, allocations: 23.69 kB / 0.5267 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.01322, allocations: 4 kB / 0.5267 GB, free: 12.4 MB / 0.4948 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000112/0.01333, allocations: 76.31 kB / 0.5268 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.082e-05/0.01334, allocations: 4 kB / 0.5268 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.01334, allocations: 0 / 0.5268 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.865e-06/0.01335, allocations: 0 / 0.5268 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.481e-05/0.01344, allocations: 15.98 kB / 0.5268 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.795e-06/0.01345, allocations: 0 / 0.5268 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003326/0.01677, allocations: 15.83 kB / 0.5268 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.125e-05/0.01679, allocations: 5.562 kB / 0.5268 GB, free: 12.29 MB / 0.4948 GB 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 7.885e-05/0.01687, allocations: 160.6 kB / 0.527 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.407e-05/0.01691, allocations: 7.953 kB / 0.527 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001635/0.01707, allocations: 83.31 kB / 0.5271 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.01707, allocations: 0 / 0.5271 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.684e-06/0.01708, allocations: 0 / 0.5271 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.01708, allocations: 4.875 kB / 0.5271 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003859/0.01746, allocations: 125.2 kB / 0.5272 GB, free: 11.87 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.01747, allocations: 0 / 0.5272 GB, free: 11.87 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.016e-05/0.01755, allocations: 16.8 kB / 0.5272 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.01755, allocations: 256 / 0.5272 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.657e-06/0.01756, allocations: 5.203 kB / 0.5272 GB, free: 11.85 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/0.01756, allocations: 4 kB / 0.5272 GB, free: 11.85 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.01756, allocations: 0 / 0.5272 GB, free: 11.85 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001613/0.01772, allocations: 220.4 kB / 0.5274 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.37e-05/0.01774, allocations: 11.89 kB / 0.5274 GB, free: 11.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.631e-05/0.01775, allocations: 4.766 kB / 0.5274 GB, free: 11.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.182e-05/0.01783, allocations: 4 kB / 0.5274 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.698e-05/0.01786, allocations: 10.77 kB / 0.5275 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.445e-06/0.01787, allocations: 0 / 0.5275 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 6.937e-05/0.01794, allocations: 152.8 kB / 0.5276 GB, free: 11.44 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8e-08/0.01794, allocations: 0 / 0.5276 GB, free: 11.44 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002705/0.01821, allocations: 19.95 kB / 0.5276 GB, free: 11.42 MB / 0.4948 GB 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 0.0001095/0.01832, allocations: 91.25 kB / 0.5277 GB, free: 11.32 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001137/0.01843, allocations: 38.8 kB / 0.5277 GB, free: 11.28 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.01844, allocations: 3.938 kB / 0.5277 GB, free: 11.28 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.83e-05/0.01847, allocations: 27.66 kB / 0.5278 GB, free: 11.25 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002378/0.01871, allocations: 8 kB / 0.5278 GB, free: 11.24 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004879/0.0192, allocations: 206.6 kB / 0.528 GB, free: 11.01 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.214e-05/0.01924, allocations: 69.14 kB / 0.528 GB, free: 10.92 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 4.239e-05/0.01928, allocations: 11.92 kB / 0.5281 GB, free: 10.91 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.982e-05/0.01934, allocations: 78.19 kB / 0.5281 GB, free: 10.83 MB / 0.4948 GB Notification: Performance of SimCode: time 4.538e-06/0.01935, allocations: 0.6562 kB / 0.5281 GB, free: 10.83 MB / 0.4948 GB Notification: Performance of Templates: time 0.006128/0.02548, allocations: 0.7934 MB / 0.5289 GB, free: 10.09 MB / 0.4948 GB " [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 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.VectorFunctions.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7996153221465647]