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.0009986/0.0009986, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.001004/0.001004, allocations: 169 kB / 23.28 MB, free: 1.223 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.9888/0.9888, allocations: 177.2 MB / 203.7 MB, free: 5.496 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.792/0.792, allocations: 154.9 MB / 415.1 MB, free: 232 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.923e-06/1.923e-06, allocations: 0 / 0.5211 GB, free: 1.543 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.642e-05/2.834e-05, allocations: 2.312 kB / 0.5211 GB, free: 1.539 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.VectorFunctions): time 0.002999/0.003027, allocations: 1.64 MB / 0.5227 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.001495/0.004522, allocations: 0.5834 MB / 0.5233 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001017/0.004624, allocations: 3.938 kB / 0.5233 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001169/0.004741, allocations: 15.86 kB / 0.5233 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 5.076e-05/0.004792, allocations: 13.75 kB / 0.5233 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003325/0.005124, allocations: 63.84 kB / 0.5234 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001491/0.005273, allocations: 87.64 kB / 0.5235 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001516/0.005425, allocations: 36.41 kB / 0.5235 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001798/0.005605, allocations: 52.91 kB / 0.5236 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 9.068e-05/0.005695, allocations: 35.91 kB / 0.5236 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.561e-05/0.005721, allocations: 4 kB / 0.5236 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 8.662e-05/0.005807, allocations: 21.19 kB / 0.5236 GB, free: 15 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 4.237e-05/0.00585, allocations: 19.92 kB / 0.5236 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 3.531e-05/0.005885, allocations: 23.94 kB / 0.5237 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001566/0.006042, allocations: 84.27 kB / 0.5238 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.813e-06/0.006044, allocations: 0 / 0.5238 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of FrontEnd: time 6.21e-07/0.006044, allocations: 1.438 kB / 0.5238 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.366e-06/0.006048, allocations: 0 / 0.5238 GB, free: 14.88 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.0004649/0.006512, allocations: 432.1 kB / 0.5242 GB, free: 14.42 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/0.006554, allocations: 12.53 kB / 0.5242 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002413/0.006795, allocations: 41.64 kB / 0.5242 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001857/0.006981, allocations: 151.4 kB / 0.5244 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.379e-05/0.006995, allocations: 4.375 kB / 0.5244 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.624e-05/0.007011, allocations: 9.375 kB / 0.5244 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001761/0.007187, allocations: 86.84 kB / 0.5245 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.007198, allocations: 4.938 kB / 0.5245 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.196e-05/0.00721, allocations: 4 kB / 0.5245 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.735e-06/0.007218, allocations: 0 / 0.5245 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.489e-05/0.007273, allocations: 20.61 kB / 0.5245 GB, free: 14.06 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004859/0.007758, allocations: 328.8 kB / 0.5248 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 6.126e-05/0.00782, allocations: 31.81 kB / 0.5248 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.519e-05/0.007855, allocations: 19.61 kB / 0.5248 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.971e-05/0.007895, allocations: 4.938 kB / 0.5249 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.784e-05/0.007922, allocations: 40.2 kB / 0.5249 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=6): time 1.573e-06/0.007924, allocations: 0 / 0.5249 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of matching and sorting (n=6): time 0.0002074/0.008131, allocations: 73.75 kB / 0.525 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.954e-05/0.008161, allocations: 51.41 kB / 0.525 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001171/0.008278, allocations: 195.9 kB / 0.5252 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.568e-05/0.008294, allocations: 25.7 kB / 0.5252 GB, free: 13.22 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 7.509e-05/0.008369, allocations: 150.8 kB / 0.5254 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.562e-05/0.008404, allocations: 31.91 kB / 0.5254 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.352e-05/0.008448, allocations: 20.56 kB / 0.5254 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000148/0.008596, allocations: 0.4962 MB / 0.5259 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.915e-05/0.008625, allocations: 11.88 kB / 0.5259 GB, free: 12.49 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.625e-05/0.008651, allocations: 12.55 kB / 0.5259 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.502e-05/0.008716, allocations: 27.67 kB / 0.5259 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.008719, allocations: 0.5625 kB / 0.5259 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001167/0.008835, allocations: 66.56 kB / 0.526 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.00885, allocations: 8 kB / 0.526 GB, free: 12.37 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/0.008855, allocations: 1.375 kB / 0.526 GB, free: 12.37 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.008868, allocations: 0 / 0.526 GB, free: 12.37 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001057/0.008974, allocations: 20.36 kB / 0.526 GB, free: 12.35 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.905e-06/0.008977, allocations: 0 / 0.526 GB, free: 12.35 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.217e-05/0.009019, allocations: 12.39 kB / 0.5261 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.869e-05/0.009038, allocations: 8.953 kB / 0.5261 GB, free: 12.33 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 8.209e-05/0.00912, allocations: 160.6 kB / 0.5262 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.346e-05/0.009153, allocations: 9.078 kB / 0.5262 GB, free: 12.15 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001489/0.009302, allocations: 82.42 kB / 0.5263 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.009305, allocations: 0 / 0.5263 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.773e-06/0.009306, allocations: 6.75 kB / 0.5263 GB, free: 12.06 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.636e-06/0.00931, allocations: 3.938 kB / 0.5263 GB, free: 12.06 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001071/0.009417, allocations: 113.2 kB / 0.5264 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.009419, allocations: 0 / 0.5264 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.297e-05/0.009482, allocations: 19.92 kB / 0.5264 GB, free: 11.9 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.009484, allocations: 0 / 0.5264 GB, free: 11.9 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.254e-06/0.009492, allocations: 7.984 kB / 0.5264 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.009493, allocations: 2.531 kB / 0.5264 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.009494, allocations: 0 / 0.5264 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001201/0.009615, allocations: 219.8 kB / 0.5267 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.001e-05/0.009625, allocations: 11.88 kB / 0.5267 GB, free: 11.65 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.146e-05/0.009636, allocations: 4 kB / 0.5267 GB, free: 11.64 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.023e-05/0.009676, allocations: 4 kB / 0.5267 GB, free: 11.64 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.577e-05/0.009712, allocations: 7.984 kB / 0.5267 GB, free: 11.63 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.307e-06/0.009721, allocations: 4.562 kB / 0.5267 GB, free: 11.63 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 5.165e-05/0.009773, allocations: 144.8 kB / 0.5268 GB, free: 11.49 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.009773, allocations: 0 / 0.5268 GB, free: 11.49 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001529/0.009926, allocations: 23.89 kB / 0.5269 GB, free: 11.46 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.0001249/0.01005, allocations: 103.4 kB / 0.5269 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 9.27e-05/0.01014, allocations: 39.17 kB / 0.527 GB, free: 11.32 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.313e-06/0.01014, allocations: 0 / 0.527 GB, free: 11.32 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.944e-05/0.01017, allocations: 35.73 kB / 0.527 GB, free: 11.28 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001508/0.01033, allocations: 4 kB / 0.527 GB, free: 11.28 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004044/0.01073, allocations: 210.6 kB / 0.5272 GB, free: 11.04 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.11e-05/0.01078, allocations: 63.34 kB / 0.5273 GB, free: 10.96 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.676e-05/0.01081, allocations: 10.62 kB / 0.5273 GB, free: 10.95 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.72e-05/0.01085, allocations: 82.19 kB / 0.5274 GB, free: 10.87 MB / 0.4948 GB Notification: Performance of SimCode: time 7.11e-07/0.01086, allocations: 0 / 0.5274 GB, free: 10.87 MB / 0.4948 GB Notification: Performance of Templates: time 0.002275/0.01313, allocations: 0.7765 MB / 0.5281 GB, free: 10.14 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.7122675948776305]