Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Round.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.001411/0.001411, allocations: 88.72 kB / 19.44 MB, free: 356 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.001578/0.001578, allocations: 161.7 kB / 22.76 MB, free: 1.68 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.595/1.595, allocations: 177.1 MB / 203.1 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] 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 1.213/1.213, allocations: 154.8 MB / 414.3 MB, free: 452 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 178] 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.Functions.Examples.Round,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Round") translateModel(IDEAS.Utilities.Math.Functions.Examples.Round,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Round") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 0.5199 GB, free: 2.219 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.774e-05/3.948e-05, allocations: 11.12 kB / 0.5199 GB, free: 2.211 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Round): time 0.00187/0.00191, allocations: 0.6109 MB / 0.5205 GB, free: 1.621 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002806/0.00219, allocations: 56.89 kB / 0.5206 GB, free: 1.566 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.901e-05/0.002209, allocations: 0 / 0.5206 GB, free: 1.566 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.415e-05/0.002223, allocations: 0.5 kB / 0.5206 GB, free: 1.566 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 8.175e-06/0.002231, allocations: 1.406 kB / 0.5206 GB, free: 1.566 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002892/0.002521, allocations: 25.11 kB / 0.5206 GB, free: 1.543 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 5.118e-05/0.002572, allocations: 8 kB / 0.5206 GB, free: 1.535 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.358e-05/0.002615, allocations: 4.969 kB / 0.5206 GB, free: 1.531 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.973e-05/0.002655, allocations: 16.12 kB / 0.5206 GB, free: 1.516 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.433e-05/0.00271, allocations: 4 kB / 0.5206 GB, free: 1.512 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.27e-05/0.002722, allocations: 0.9688 kB / 0.5206 GB, free: 1.512 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.989e-05/0.002802, allocations: 19.92 kB / 0.5206 GB, free: 1.492 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.396e-05/0.002816, allocations: 1 kB / 0.5206 GB, free: 1.492 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.587e-05/0.002842, allocations: 3.984 kB / 0.5206 GB, free: 1.488 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 9.232e-05/0.002934, allocations: 19.97 kB / 0.5207 GB, free: 1.469 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.002937, allocations: 0.9688 kB / 0.5207 GB, free: 1.469 MB / 490.7 MB Notification: Performance of FrontEnd: time 6.82e-07/0.002938, allocations: 0 / 0.5207 GB, free: 1.469 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.539e-06/0.002942, allocations: 4 kB / 0.5207 GB, free: 1.465 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006374/0.003579, allocations: 251.9 kB / 0.5209 GB, free: 1.188 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.047e-05/0.00362, allocations: 8.031 kB / 0.5209 GB, free: 1.18 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.036e-05/0.00367, allocations: 4.938 kB / 0.5209 GB, free: 1.176 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001102/0.00378, allocations: 110.3 kB / 0.521 GB, free: 1.043 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.199e-05/0.003792, allocations: 1.062 kB / 0.521 GB, free: 1.043 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.669e-06/0.003802, allocations: 4.375 kB / 0.521 GB, free: 1.039 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001547/0.003957, allocations: 71.77 kB / 0.5211 GB, free: 0.9492 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.003967, allocations: 4.125 kB / 0.5211 GB, free: 0.9453 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.151e-05/0.003979, allocations: 4.375 kB / 0.5211 GB, free: 0.9414 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.139e-06/0.003984, allocations: 1 kB / 0.5211 GB, free: 0.9414 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.598e-05/0.00403, allocations: 19.86 kB / 0.5211 GB, free: 0.9219 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001971/0.004227, allocations: 122.6 kB / 0.5212 GB, free: 0.7617 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001493/0.004376, allocations: 89.05 kB / 0.5213 GB, free: 0.6289 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.655e-05/0.004443, allocations: 44.41 kB / 0.5214 GB, free: 0.5703 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001517/0.004594, allocations: 5.625 kB / 0.5214 GB, free: 0.5664 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.59e-05/0.00464, allocations: 42.55 kB / 0.5214 GB, free: 0.5156 MB / 490.7 MB Notification: Performance of pre-optimization done (n=5): time 1.252e-06/0.004642, allocations: 0 / 0.5214 GB, free: 0.5156 MB / 490.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002341/0.004876, allocations: 70.78 kB / 0.5215 GB, free: 452 kB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001262/0.005002, allocations: 162.8 kB / 0.5216 GB, free: 252 kB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.322e-05/0.005065, allocations: 89.86 kB / 0.5217 GB, free: 152 kB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.452e-05/0.00509, allocations: 26.45 kB / 0.5217 GB, free: 120 kB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.898e-05/0.005139, allocations: 80.14 kB / 0.5218 GB, free: 36 kB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.935e-05/0.005198, allocations: 29.23 kB / 0.5219 GB, free: 8 kB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.694e-05/0.005255, allocations: 17.72 kB / 0.5219 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002031/0.005458, allocations: 318.8 kB / 0.5222 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.602e-05/0.005484, allocations: 11.98 kB / 0.5222 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.278e-05/0.005537, allocations: 33.58 kB / 0.5222 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.476e-05/0.005631, allocations: 59.75 kB / 0.5223 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.005634, allocations: 0 / 0.5223 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001137/0.005748, allocations: 57.62 kB / 0.5223 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.053e-05/0.005769, allocations: 8 kB / 0.5223 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.005775, allocations: 0 / 0.5223 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.125e-05/0.005796, allocations: 0.5625 kB / 0.5223 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.726e-05/0.005884, allocations: 15.92 kB / 0.5224 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.18e-05/0.005895, allocations: 4.656 kB / 0.5224 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.502e-05/0.00593, allocations: 8.438 kB / 0.5224 GB, free: 15.44 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.155e-05/0.005942, allocations: 7.938 kB / 0.5224 GB, free: 15.43 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (5): * Single equations (assignments): 5 * 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.0001125/0.006055, allocations: 115.6 kB / 0.5225 GB, free: 15.31 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.86e-05/0.006073, allocations: 4 kB / 0.5225 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00024/0.006313, allocations: 102.7 kB / 0.5226 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.006316, allocations: 0 / 0.5226 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.015e-06/0.006324, allocations: 6.75 kB / 0.5226 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.157e-05/0.006335, allocations: 3.984 kB / 0.5226 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001533/0.006489, allocations: 117.2 kB / 0.5227 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.00649, allocations: 0 / 0.5227 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.331e-05/0.006554, allocations: 19.94 kB / 0.5227 GB, free: 15.03 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.006556, allocations: 0 / 0.5227 GB, free: 15.03 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.747e-05/0.006573, allocations: 8 kB / 0.5227 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.006578, allocations: 3.984 kB / 0.5227 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.006579, allocations: 1.469 kB / 0.5227 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001856/0.006764, allocations: 124.4 kB / 0.5229 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.25e-05/0.006777, allocations: 3.953 kB / 0.5229 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.377e-05/0.006791, allocations: 4.938 kB / 0.5229 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.504e-05/0.006836, allocations: 3.984 kB / 0.5229 GB, free: 14.85 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.792e-05/0.006864, allocations: 12.88 kB / 0.5229 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.773e-06/0.00687, allocations: 11.94 kB / 0.5229 GB, free: 14.83 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.597e-05/0.006916, allocations: 75.28 kB / 0.523 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of sort global known variables: time 9e-08/0.006916, allocations: 4.656 kB / 0.523 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002518/0.007168, allocations: 7.984 kB / 0.523 GB, free: 14.74 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (9): * Single equations (assignments): 9 * 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.000198/0.007366, allocations: 106.8 kB / 0.5231 GB, free: 14.63 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001133/0.007479, allocations: 31.92 kB / 0.5231 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.007481, allocations: 0 / 0.5231 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 4.484e-05/0.007526, allocations: 27.92 kB / 0.5231 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001627/0.007689, allocations: 9.781 kB / 0.5231 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003503/0.008039, allocations: 155.9 kB / 0.5233 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.18e-05/0.008121, allocations: 63.34 kB / 0.5234 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.645e-05/0.008158, allocations: 11.38 kB / 0.5234 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.864e-05/0.008196, allocations: 16.48 kB / 0.5234 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of SimCode: time 4.91e-07/0.008197, allocations: 0 / 0.5234 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of Templates: time 0.003127/0.01132, allocations: 0.56 MB / 0.5239 GB, free: 13.74 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Round.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Round.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Round.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Round.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Round.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Round -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Round.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.825884365942329]