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.002459/0.002459, allocations: 89.48 kB / 19.44 MB, free: 336 kB / 13.93 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.002947/0.002947, allocations: 169.2 kB / 22.76 MB, free: 1.664 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 1.619/1.619, allocations: 177.1 MB / 203.1 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] 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-545:108: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-545:116: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 1.309/1.309, allocations: 154.6 MB / 414.2 MB, free: 0.6523 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 178] 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 2.174e-06/2.174e-06, allocations: 0 / 0.5196 GB, free: 2.543 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.631e-05/3.848e-05, allocations: 2.312 kB / 0.5196 GB, free: 2.539 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.VectorFunctions): time 0.003805/0.003843, allocations: 1.622 MB / 0.5212 GB, free: 0.9297 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001356/0.005199, allocations: 0.5775 MB / 0.5218 GB, free: 356 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.453e-05/0.005273, allocations: 4.625 kB / 0.5218 GB, free: 352 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001259/0.005399, allocations: 11.86 kB / 0.5218 GB, free: 340 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.67e-05/0.005446, allocations: 17.09 kB / 0.5218 GB, free: 324 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003552/0.005801, allocations: 60.33 kB / 0.5219 GB, free: 264 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001947/0.005996, allocations: 96.69 kB / 0.522 GB, free: 168 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000173/0.006169, allocations: 23.84 kB / 0.522 GB, free: 144 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002061/0.006375, allocations: 63.81 kB / 0.522 GB, free: 80 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.066e-05/0.006465, allocations: 32.48 kB / 0.5221 GB, free: 48 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 3.087e-05/0.006496, allocations: 14.02 kB / 0.5221 GB, free: 36 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.303e-05/0.006579, allocations: 16 kB / 0.5221 GB, free: 20 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 5.573e-05/0.006635, allocations: 19.92 kB / 0.5221 GB, free: 0 / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 8.006e-05/0.006715, allocations: 28.03 kB / 0.5222 GB, free: 15.97 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002372/0.006952, allocations: 99.56 kB / 0.5222 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.006959, allocations: 4 kB / 0.5223 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.282e-06/0.00696, allocations: 1.344 kB / 0.5223 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.012e-06/0.006966, allocations: 0 / 0.5223 GB, free: 15.87 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.0007852/0.007752, allocations: 431.8 kB / 0.5227 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.875e-05/0.00781, allocations: 9.5 kB / 0.5227 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003351/0.008146, allocations: 36.88 kB / 0.5227 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002686/0.008414, allocations: 159 kB / 0.5229 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.793e-05/0.008432, allocations: 8.375 kB / 0.5229 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.814e-05/0.00845, allocations: 5.344 kB / 0.5229 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002348/0.008685, allocations: 90.06 kB / 0.523 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/0.008698, allocations: 8.438 kB / 0.523 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.58e-05/0.008714, allocations: 5.031 kB / 0.523 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.008718, allocations: 0 / 0.523 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001812/0.0089, allocations: 53.09 kB / 0.523 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006584/0.009558, allocations: 355.5 kB / 0.5234 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001338/0.009692, allocations: 47.67 kB / 0.5234 GB, free: 14.58 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001053/0.009797, allocations: 33.3 kB / 0.5234 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 4.548e-05/0.009843, allocations: 7.938 kB / 0.5234 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.76e-05/0.00988, allocations: 33.39 kB / 0.5235 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=6): time 9.02e-07/0.009881, allocations: 1.812 kB / 0.5235 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of matching and sorting (n=6): time 0.0004177/0.0103, allocations: 121.6 kB / 0.5236 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.978e-05/0.01035, allocations: 51.41 kB / 0.5236 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000184/0.01053, allocations: 216.7 kB / 0.5239 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.379e-05/0.01056, allocations: 25.7 kB / 0.5239 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000129/0.01069, allocations: 154.9 kB / 0.524 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.709e-05/0.01072, allocations: 27.78 kB / 0.524 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.998e-05/0.01078, allocations: 27.38 kB / 0.5241 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002723/0.01105, allocations: 0.4969 MB / 0.5246 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.778e-05/0.01113, allocations: 15.98 kB / 0.5246 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.199e-05/0.0112, allocations: 28.95 kB / 0.5246 GB, free: 13.28 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001625/0.01137, allocations: 56.59 kB / 0.5247 GB, free: 13.22 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.01137, allocations: 0 / 0.5247 GB, free: 13.22 MB / 0.4948 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002291/0.0116, allocations: 96.88 kB / 0.5248 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.334e-05/0.01162, allocations: 4 kB / 0.5248 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.01163, allocations: 0 / 0.5248 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.01164, allocations: 0 / 0.5248 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001269/0.01177, allocations: 15.98 kB / 0.5248 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/0.01178, allocations: 7.875 kB / 0.5248 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.979e-05/0.01184, allocations: 11.98 kB / 0.5248 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.319e-05/0.01186, allocations: 4 kB / 0.5248 GB, free: 13.08 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 0.000135/0.012, allocations: 163.6 kB / 0.5249 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.61e-05/0.01203, allocations: 11.91 kB / 0.525 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003192/0.01235, allocations: 106.4 kB / 0.5251 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.594e-06/0.01235, allocations: 0 / 0.5251 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.01236, allocations: 8.438 kB / 0.5251 GB, free: 12.78 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.01236, allocations: 3.938 kB / 0.5251 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002496/0.01261, allocations: 154.1 kB / 0.5252 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.01262, allocations: 4 kB / 0.5252 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.247e-05/0.01271, allocations: 19.92 kB / 0.5252 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.01271, allocations: 0 / 0.5252 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.052e-05/0.01272, allocations: 1.562 kB / 0.5252 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.217e-06/0.01272, allocations: 4 kB / 0.5252 GB, free: 12.56 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.01273, allocations: 0 / 0.5252 GB, free: 12.56 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003524/0.01308, allocations: 245.1 kB / 0.5255 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.79e-05/0.0131, allocations: 7.953 kB / 0.5255 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.223e-05/0.01312, allocations: 4 kB / 0.5255 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.494e-05/0.0132, allocations: 8.578 kB / 0.5255 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.234e-05/0.01327, allocations: 3.984 kB / 0.5255 GB, free: 12.28 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.384e-05/0.01328, allocations: 8.625 kB / 0.5255 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001191/0.0134, allocations: 154.2 kB / 0.5257 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6.1e-08/0.0134, allocations: 0.5 kB / 0.5257 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002405/0.01364, allocations: 26.3 kB / 0.5257 GB, free: 12.1 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.0001799/0.01382, allocations: 99.17 kB / 0.5258 GB, free: 12 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.000246/0.01406, allocations: 67.66 kB / 0.5258 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.01407, allocations: 0 / 0.5258 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.000102/0.01417, allocations: 42.05 kB / 0.5259 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002346/0.0144, allocations: 14.33 kB / 0.5259 GB, free: 11.87 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005113/0.01491, allocations: 210.6 kB / 0.5261 GB, free: 11.64 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001089/0.01502, allocations: 86.16 kB / 0.5262 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 6.195e-05/0.01508, allocations: 15.97 kB / 0.5262 GB, free: 11.52 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.27e-05/0.01513, allocations: 17.03 kB / 0.5262 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of SimCode: time 4.91e-07/0.01513, allocations: 0 / 0.5262 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of Templates: time 0.003845/0.01897, allocations: 0.7131 MB / 0.5269 GB, free: 10.83 MB / 0.4948 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=240 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.VectorFunctions.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.993749057990499]