Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001277/0.001277, allocations: 82.56 kB / 19.18 MB, free: 2.363 MB / 14.72 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.001377/0.001377, allocations: 172.6 kB / 22.46 MB, free: 4.984 MB / 14.72 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.423/1.423, allocations: 177.2 MB / 202.8 MB, free: 9.188 MB / 190.1 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-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 1.185/1.185, allocations: 154.7 MB / 413.9 MB, free: 5.18 MB / 382.1 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.Functions.Examples.Round,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.Round") translateModel(IDEAS.Utilities.Math.Functions.Examples.Round,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.Round") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 0.6188 GB, free: 4.5 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.608e-05/2.761e-05, allocations: 4.25 kB / 0.6188 GB, free: 4.496 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Round): time 0.001557/0.001584, allocations: 0.5997 MB / 0.6194 GB, free: 3.91 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0002762/0.00186, allocations: 63.67 kB / 0.6195 GB, free: 3.848 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.008e-05/0.001881, allocations: 0 / 0.6195 GB, free: 3.848 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.78e-05/0.001898, allocations: 4 kB / 0.6195 GB, free: 3.844 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 1.006e-05/0.001908, allocations: 3.938 kB / 0.6195 GB, free: 3.84 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002467/0.002155, allocations: 19.97 kB / 0.6195 GB, free: 3.82 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 4.828e-05/0.002203, allocations: 15.98 kB / 0.6195 GB, free: 3.805 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.543e-05/0.002249, allocations: 0 / 0.6195 GB, free: 3.805 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.148e-05/0.00228, allocations: 7.984 kB / 0.6195 GB, free: 3.797 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.09e-05/0.002331, allocations: 7.984 kB / 0.6195 GB, free: 3.789 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.183e-05/0.002343, allocations: 0 / 0.6195 GB, free: 3.789 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 6.979e-05/0.002413, allocations: 15.98 kB / 0.6195 GB, free: 3.773 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.547e-05/0.002428, allocations: 3.938 kB / 0.6195 GB, free: 3.77 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.806e-05/0.002446, allocations: 11.98 kB / 0.6195 GB, free: 3.758 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001/0.002546, allocations: 27.84 kB / 0.6196 GB, free: 3.73 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 1.903e-06/0.002548, allocations: 0 / 0.6196 GB, free: 3.73 MB / 0.5294 GB Notification: Performance of FrontEnd: time 4.81e-07/0.002549, allocations: 0 / 0.6196 GB, free: 3.73 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.368e-06/0.002553, allocations: 3.938 kB / 0.6196 GB, free: 3.727 MB / 0.5294 GB 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.00036/0.002913, allocations: 246.4 kB / 0.6198 GB, free: 3.453 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.002951, allocations: 12.03 kB / 0.6198 GB, free: 3.441 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.974e-05/0.002991, allocations: 4.938 kB / 0.6198 GB, free: 3.438 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.281e-05/0.003084, allocations: 101.8 kB / 0.6199 GB, free: 3.312 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.528e-05/0.003099, allocations: 4.375 kB / 0.6199 GB, free: 3.309 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.027e-06/0.003108, allocations: 4.375 kB / 0.6199 GB, free: 3.305 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001416/0.00325, allocations: 78.47 kB / 0.62 GB, free: 3.207 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.003259, allocations: 192 / 0.62 GB, free: 3.207 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/0.003271, allocations: 4.375 kB / 0.62 GB, free: 3.203 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-06/0.003276, allocations: 384 / 0.62 GB, free: 3.203 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.13e-05/0.003317, allocations: 19.86 kB / 0.62 GB, free: 3.184 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000206/0.003523, allocations: 124.8 kB / 0.6201 GB, free: 3.02 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001404/0.003663, allocations: 101.1 kB / 0.6202 GB, free: 2.875 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.914e-05/0.003712, allocations: 32.36 kB / 0.6203 GB, free: 2.828 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001574/0.00387, allocations: 15.98 kB / 0.6203 GB, free: 2.812 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.452e-05/0.003904, allocations: 38.5 kB / 0.6203 GB, free: 2.766 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=5): time 1.052e-06/0.003905, allocations: 0 / 0.6203 GB, free: 2.766 MB / 0.5294 GB Notification: Performance of matching and sorting (n=5): time 0.0002218/0.004127, allocations: 73.55 kB / 0.6204 GB, free: 2.688 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001075/0.004235, allocations: 162.2 kB / 0.6206 GB, free: 2.492 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.026e-05/0.004295, allocations: 89.86 kB / 0.6206 GB, free: 2.395 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.75e-05/0.004312, allocations: 25.7 kB / 0.6207 GB, free: 2.363 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.403e-05/0.004346, allocations: 80.77 kB / 0.6207 GB, free: 2.281 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.605e-05/0.004392, allocations: 23.8 kB / 0.6208 GB, free: 2.258 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.956e-05/0.004432, allocations: 25.7 kB / 0.6208 GB, free: 2.227 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001517/0.004584, allocations: 314.8 kB / 0.6211 GB, free: 1.91 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.982e-05/0.004603, allocations: 4 kB / 0.6211 GB, free: 1.906 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.065e-05/0.004644, allocations: 40.22 kB / 0.6211 GB, free: 1.852 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.367e-05/0.004718, allocations: 48.23 kB / 0.6212 GB, free: 1.789 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.00472, allocations: 0 / 0.6212 GB, free: 1.789 MB / 0.5294 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001055/0.004826, allocations: 61.62 kB / 0.6212 GB, free: 1.723 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.004842, allocations: 7.984 kB / 0.6212 GB, free: 1.715 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.004846, allocations: 0 / 0.6212 GB, free: 1.715 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.004862, allocations: 4 kB / 0.6212 GB, free: 1.711 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.559e-05/0.004937, allocations: 15.94 kB / 0.6213 GB, free: 1.695 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.112e-06/0.004943, allocations: 0 / 0.6213 GB, free: 1.695 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.185e-05/0.004975, allocations: 7.938 kB / 0.6213 GB, free: 1.688 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.013e-06/0.004982, allocations: 0 / 0.6213 GB, free: 1.688 MB / 0.5294 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 8.76e-05/0.00507, allocations: 119.8 kB / 0.6214 GB, free: 1.562 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.74e-05/0.005087, allocations: 8.125 kB / 0.6214 GB, free: 1.555 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002009/0.005288, allocations: 100.5 kB / 0.6215 GB, free: 1.453 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.533e-06/0.005295, allocations: 4 kB / 0.6215 GB, free: 1.449 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.005299, allocations: 3.938 kB / 0.6215 GB, free: 1.445 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/0.005304, allocations: 0 / 0.6215 GB, free: 1.445 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000117/0.005421, allocations: 121.3 kB / 0.6216 GB, free: 1.297 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.005426, allocations: 4 kB / 0.6216 GB, free: 1.293 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.232e-05/0.005498, allocations: 23.92 kB / 0.6216 GB, free: 1.27 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.0055, allocations: 0 / 0.6216 GB, free: 1.27 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.115e-05/0.005511, allocations: 4 kB / 0.6216 GB, free: 1.266 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.005513, allocations: 0 / 0.6216 GB, free: 1.266 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.005516, allocations: 4 kB / 0.6216 GB, free: 1.262 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000152/0.005668, allocations: 120.4 kB / 0.6218 GB, free: 1.113 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 7.253e-06/0.005675, allocations: 7.953 kB / 0.6218 GB, free: 1.105 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.213e-05/0.005687, allocations: 4 kB / 0.6218 GB, free: 1.102 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.611e-05/0.005713, allocations: 4 kB / 0.6218 GB, free: 1.098 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.481e-05/0.005738, allocations: 19.86 kB / 0.6218 GB, free: 1.078 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.945e-06/0.005746, allocations: 4 kB / 0.6218 GB, free: 1.074 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.257e-05/0.005799, allocations: 75.28 kB / 0.6219 GB, free: 1 MB / 0.5294 GB Notification: Performance of sort global known variables: time 5e-08/0.005799, allocations: 0 / 0.6219 GB, free: 1 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0001955/0.005994, allocations: 8 kB / 0.6219 GB, free: 0.9922 MB / 0.5294 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.0001458/0.00614, allocations: 103.2 kB / 0.622 GB, free: 0.8789 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001208/0.006261, allocations: 32.11 kB / 0.622 GB, free: 0.8477 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.006263, allocations: 4.125 kB / 0.622 GB, free: 0.8438 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 3.836e-05/0.006301, allocations: 27.92 kB / 0.622 GB, free: 0.8164 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001574/0.006459, allocations: 2.031 kB / 0.622 GB, free: 0.8164 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003213/0.00678, allocations: 156.1 kB / 0.6222 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.819e-05/0.006848, allocations: 63.34 kB / 0.6222 GB, free: 0.543 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 3.758e-05/0.006886, allocations: 12.31 kB / 0.6223 GB, free: 0.5312 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.566e-05/0.006911, allocations: 12.5 kB / 0.6223 GB, free: 0.5195 MB / 0.5294 GB Notification: Performance of SimCode: time 3e-07/0.006912, allocations: 0 / 0.6223 GB, free: 0.5195 MB / 0.5294 GB Notification: Performance of Templates: time 0.003024/0.009936, allocations: 0.5484 MB / 0.6228 GB, free: 15.98 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.Round.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.Round.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.Round.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.Round.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.Round.sim & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.Round -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.Round.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.590063199400902] Failed to read output from testmodel.py, exit status != 0: 0.01817256771028042 0.031766513 0.02634821 Calling exit ...