Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0007836/0.0007836, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0007783/0.0007783, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.8701/0.8701, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686: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/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.6867/0.6867, allocations: 154.6 MB / 414.5 MB, free: 0.8008 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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/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 4.0.0/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_IDEAS.Utilities.Math.Examples.VectorFunctions") translateModel(IDEAS.Utilities.Math.Examples.VectorFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.VectorFunctions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0 / 0.6193 GB, free: 13.16 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.586e-05/2.762e-05, allocations: 2.281 kB / 0.6193 GB, free: 13.16 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.VectorFunctions): time 0.001912/0.001939, allocations: 1.594 MB / 0.6209 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0006698/0.002609, allocations: 0.5728 MB / 0.6215 GB, free: 10.97 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.663e-05/0.002666, allocations: 3.938 kB / 0.6215 GB, free: 10.96 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 9.347e-05/0.002759, allocations: 11.86 kB / 0.6215 GB, free: 10.95 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 2.432e-05/0.002783, allocations: 15.81 kB / 0.6215 GB, free: 10.94 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002601/0.003044, allocations: 63.78 kB / 0.6216 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001105/0.003154, allocations: 95.62 kB / 0.6216 GB, free: 10.78 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001232/0.003277, allocations: 23.92 kB / 0.6217 GB, free: 10.76 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001333/0.003411, allocations: 67.81 kB / 0.6217 GB, free: 10.69 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 6.087e-05/0.003471, allocations: 35.89 kB / 0.6218 GB, free: 10.66 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.592e-05/0.003487, allocations: 8 kB / 0.6218 GB, free: 10.65 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 5.421e-05/0.003542, allocations: 15.98 kB / 0.6218 GB, free: 10.63 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 3.313e-05/0.003575, allocations: 23.86 kB / 0.6218 GB, free: 10.61 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 3.034e-05/0.003605, allocations: 27.92 kB / 0.6218 GB, free: 10.58 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.000132/0.003737, allocations: 103.5 kB / 0.6219 GB, free: 10.48 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.884e-06/0.003739, allocations: 0 / 0.6219 GB, free: 10.48 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.194e-06/0.003741, allocations: 3.984 kB / 0.6219 GB, free: 10.48 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.607e-06/0.003745, allocations: 0 / 0.6219 GB, free: 10.48 MB / 0.5886 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.0006235/0.004368, allocations: 329.9 kB / 0.6223 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.396e-05/0.004402, allocations: 8.031 kB / 0.6223 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001623/0.004565, allocations: 40.84 kB / 0.6223 GB, free: 10.08 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001699/0.004734, allocations: 138.2 kB / 0.6224 GB, free: 9.918 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.788e-06/0.004744, allocations: 12.31 kB / 0.6224 GB, free: 9.906 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.105e-05/0.004755, allocations: 4.375 kB / 0.6225 GB, free: 9.902 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001713/0.004927, allocations: 110.1 kB / 0.6226 GB, free: 9.789 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.704e-06/0.004934, allocations: 7.938 kB / 0.6226 GB, free: 9.781 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.261e-05/0.004947, allocations: 3.984 kB / 0.6226 GB, free: 9.777 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.004951, allocations: 0 / 0.6226 GB, free: 9.777 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001289/0.00508, allocations: 102.5 kB / 0.6227 GB, free: 9.68 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003708/0.005451, allocations: 308.3 kB / 0.623 GB, free: 9.348 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 9.058e-05/0.005542, allocations: 62.55 kB / 0.623 GB, free: 9.277 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.92e-05/0.005601, allocations: 44.89 kB / 0.6231 GB, free: 9.23 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 3.084e-05/0.005632, allocations: 7.984 kB / 0.6231 GB, free: 9.223 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.801e-05/0.00565, allocations: 38.5 kB / 0.6231 GB, free: 9.176 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=6): time 8.61e-07/0.00565, allocations: 0 / 0.6231 GB, free: 9.176 MB / 0.5886 GB Notification: Performance of matching and sorting (n=6): time 0.0002749/0.005925, allocations: 157.6 kB / 0.6233 GB, free: 9.016 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.075e-05/0.005956, allocations: 59.41 kB / 0.6233 GB, free: 8.945 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.807e-05/0.006034, allocations: 152.5 kB / 0.6235 GB, free: 8.789 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.063e-05/0.006045, allocations: 25.7 kB / 0.6235 GB, free: 8.758 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.377e-05/0.006089, allocations: 108.2 kB / 0.6236 GB, free: 8.648 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.172e-05/0.00611, allocations: 19.8 kB / 0.6236 GB, free: 8.629 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.191e-05/0.006142, allocations: 21.7 kB / 0.6236 GB, free: 8.602 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.468e-05/0.006217, allocations: 318.8 kB / 0.6239 GB, free: 8.281 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.261e-05/0.00628, allocations: 39.97 kB / 0.624 GB, free: 8.242 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.088e-05/0.00633, allocations: 35.97 kB / 0.624 GB, free: 8.207 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001147/0.006445, allocations: 101.1 kB / 0.6241 GB, free: 8.105 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.006447, allocations: 0 / 0.6241 GB, free: 8.105 MB / 0.5886 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001403/0.006587, allocations: 125.6 kB / 0.6242 GB, free: 7.977 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.098e-05/0.006598, allocations: 8 kB / 0.6242 GB, free: 7.969 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.006602, allocations: 0 / 0.6242 GB, free: 7.969 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.085e-05/0.006613, allocations: 0 / 0.6242 GB, free: 7.969 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.009e-05/0.006683, allocations: 19.98 kB / 0.6242 GB, free: 7.949 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.091e-06/0.006689, allocations: 7.938 kB / 0.6243 GB, free: 7.941 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.913e-05/0.006718, allocations: 11.98 kB / 0.6243 GB, free: 7.93 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.508e-05/0.006734, allocations: 3.938 kB / 0.6243 GB, free: 7.926 MB / 0.5886 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 5.895e-05/0.006792, allocations: 126.8 kB / 0.6244 GB, free: 7.793 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.552e-05/0.006808, allocations: 11.91 kB / 0.6244 GB, free: 7.781 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001963/0.007004, allocations: 142.4 kB / 0.6245 GB, free: 7.633 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.007006, allocations: 0 / 0.6245 GB, free: 7.633 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.00701, allocations: 7.938 kB / 0.6245 GB, free: 7.625 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.007012, allocations: 0 / 0.6245 GB, free: 7.625 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001086/0.007121, allocations: 141.3 kB / 0.6247 GB, free: 7.457 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.007122, allocations: 0 / 0.6247 GB, free: 7.457 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.961e-05/0.007161, allocations: 15.98 kB / 0.6247 GB, free: 7.441 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-06/0.007162, allocations: 0 / 0.6247 GB, free: 7.441 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.095e-06/0.007171, allocations: 4 kB / 0.6247 GB, free: 7.438 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.007172, allocations: 4 kB / 0.6247 GB, free: 7.434 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.761e-06/0.007178, allocations: 7.875 kB / 0.6247 GB, free: 7.426 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001722/0.00735, allocations: 227.5 kB / 0.6249 GB, free: 7.188 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 8.326e-06/0.007359, allocations: 7.953 kB / 0.6249 GB, free: 7.18 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.094e-05/0.00737, allocations: 0 / 0.6249 GB, free: 7.18 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.6e-05/0.007416, allocations: 15.98 kB / 0.6249 GB, free: 7.164 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.475e-05/0.00745, allocations: 3.984 kB / 0.625 GB, free: 7.16 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.963e-06/0.007457, allocations: 7.938 kB / 0.625 GB, free: 7.152 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 4.116e-05/0.007498, allocations: 107.2 kB / 0.6251 GB, free: 7.047 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.007499, allocations: 0 / 0.6251 GB, free: 7.047 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001464/0.007645, allocations: 19.89 kB / 0.6251 GB, free: 7.027 MB / 0.5886 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 9.337e-05/0.007738, allocations: 107.2 kB / 0.6252 GB, free: 6.914 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001548/0.007893, allocations: 95.88 kB / 0.6253 GB, free: 6.82 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 9.81e-07/0.007894, allocations: 0 / 0.6253 GB, free: 6.82 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 6e-05/0.007954, allocations: 51.95 kB / 0.6253 GB, free: 6.77 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001495/0.008104, allocations: 4 kB / 0.6253 GB, free: 6.766 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000322/0.008426, allocations: 251.3 kB / 0.6256 GB, free: 6.488 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.73e-05/0.008483, allocations: 92.31 kB / 0.6257 GB, free: 6.379 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.965e-05/0.008513, allocations: 12.5 kB / 0.6257 GB, free: 6.367 MB / 0.5886 GB Notification: Performance of SimCode: time 5.31e-07/0.008513, allocations: 0 / 0.6257 GB, free: 6.367 MB / 0.5886 GB Notification: Performance of Templates: time 0.001789/0.0103, allocations: 1.224 MB / 0.6269 GB, free: 5.148 MB / 0.5886 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.VectorFunctions.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Math.Examples.VectorFunctions.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.VectorFunctions.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.VectorFunctions.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.VectorFunctions.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.VectorFunctions -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.VectorFunctions.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.143936589360237] Failed to read output from testmodel.py, exit status != 0: 0.01539546437561512 0.023286849000000002 0.017385945 Calling exit ...