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.001826/0.001826, allocations: 79.36 kB / 19.18 MB, free: 2.52 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.002243/0.002243, allocations: 167.6 kB / 22.46 MB, free: 5.375 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.457/1.457, allocations: 177.1 MB / 202.8 MB, free: 9.184 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.186/1.186, allocations: 154.6 MB / 413.8 MB, free: 5.203 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 2.074e-06/2.074e-06, allocations: 0 / 0.6186 GB, free: 4.492 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.98e-05/3.187e-05, allocations: 2.281 kB / 0.6186 GB, free: 4.488 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Round): time 0.001743/0.001775, allocations: 0.5981 MB / 0.6192 GB, free: 3.902 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.000256/0.002031, allocations: 59.73 kB / 0.6193 GB, free: 3.844 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.219e-05/0.002053, allocations: 0 / 0.6193 GB, free: 3.844 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.225e-05/0.002065, allocations: 4 kB / 0.6193 GB, free: 3.84 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.655e-06/0.002073, allocations: 0 / 0.6193 GB, free: 3.84 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002522/0.002325, allocations: 27.84 kB / 0.6193 GB, free: 3.812 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 5.111e-05/0.002376, allocations: 15.98 kB / 0.6193 GB, free: 3.797 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.908e-05/0.002415, allocations: 4 kB / 0.6193 GB, free: 3.793 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.112e-05/0.002446, allocations: 7.984 kB / 0.6193 GB, free: 3.785 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.958e-05/0.002496, allocations: 7.984 kB / 0.6194 GB, free: 3.777 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.419e-05/0.00251, allocations: 0 / 0.6194 GB, free: 3.777 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 7.386e-05/0.002584, allocations: 15.98 kB / 0.6194 GB, free: 3.762 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.347e-05/0.002598, allocations: 0 / 0.6194 GB, free: 3.762 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.372e-05/0.002621, allocations: 15.92 kB / 0.6194 GB, free: 3.746 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 9.293e-05/0.002714, allocations: 23.91 kB / 0.6194 GB, free: 3.723 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.002717, allocations: 0 / 0.6194 GB, free: 3.723 MB / 0.5294 GB Notification: Performance of FrontEnd: time 7.51e-07/0.002718, allocations: 0 / 0.6194 GB, free: 3.723 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.017e-06/0.002722, allocations: 0 / 0.6194 GB, free: 3.723 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.0003771/0.003099, allocations: 250.4 kB / 0.6196 GB, free: 3.445 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.821e-05/0.003147, allocations: 12.03 kB / 0.6197 GB, free: 3.434 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.611e-05/0.003183, allocations: 0.9375 kB / 0.6197 GB, free: 3.434 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001498/0.003333, allocations: 105.7 kB / 0.6198 GB, free: 3.305 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.623e-05/0.003349, allocations: 8.375 kB / 0.6198 GB, free: 3.297 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.066e-06/0.003357, allocations: 4.375 kB / 0.6198 GB, free: 3.293 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001438/0.003501, allocations: 74.53 kB / 0.6198 GB, free: 3.199 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/0.003513, allocations: 8.125 kB / 0.6198 GB, free: 3.191 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.957e-06/0.003522, allocations: 384 / 0.6198 GB, free: 3.191 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.003529, allocations: 4.359 kB / 0.6199 GB, free: 3.188 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.544e-05/0.003575, allocations: 15.88 kB / 0.6199 GB, free: 3.172 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002585/0.003833, allocations: 124.8 kB / 0.62 GB, free: 3.008 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000128/0.003961, allocations: 97.25 kB / 0.6201 GB, free: 2.867 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.168e-05/0.004013, allocations: 36.23 kB / 0.6201 GB, free: 2.816 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001545/0.004168, allocations: 15.98 kB / 0.6201 GB, free: 2.801 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.864e-05/0.004206, allocations: 38.56 kB / 0.6202 GB, free: 2.754 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=5): time 1.042e-06/0.004207, allocations: 0 / 0.6202 GB, free: 2.754 MB / 0.5294 GB Notification: Performance of matching and sorting (n=5): time 0.0002137/0.004421, allocations: 73.48 kB / 0.6202 GB, free: 2.676 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.545e-05/0.004516, allocations: 154.2 kB / 0.6204 GB, free: 2.488 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.407e-05/0.00457, allocations: 93.86 kB / 0.6205 GB, free: 2.387 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.918e-05/0.00459, allocations: 29.7 kB / 0.6205 GB, free: 2.352 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.476e-05/0.004624, allocations: 80.77 kB / 0.6206 GB, free: 2.27 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.987e-05/0.004664, allocations: 15.8 kB / 0.6206 GB, free: 2.254 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.613e-05/0.00471, allocations: 37.58 kB / 0.6206 GB, free: 2.211 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001612/0.004872, allocations: 314.8 kB / 0.6209 GB, free: 1.895 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.924e-05/0.004891, allocations: 4 kB / 0.6209 GB, free: 1.891 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.073e-05/0.004932, allocations: 36.28 kB / 0.621 GB, free: 1.84 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.663e-05/0.005008, allocations: 48.23 kB / 0.621 GB, free: 1.777 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.00501, allocations: 0 / 0.621 GB, free: 1.777 MB / 0.5294 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001184/0.005128, allocations: 69.56 kB / 0.6211 GB, free: 1.703 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.005143, allocations: 7.984 kB / 0.6211 GB, free: 1.695 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.005147, allocations: 0 / 0.6211 GB, free: 1.695 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.005162, allocations: 4 kB / 0.6211 GB, free: 1.691 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.298e-05/0.005235, allocations: 8 kB / 0.6211 GB, free: 1.684 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.00524, allocations: 3.938 kB / 0.6211 GB, free: 1.68 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.42e-05/0.005274, allocations: 7.938 kB / 0.6211 GB, free: 1.672 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.053e-06/0.005282, allocations: 0 / 0.6211 GB, free: 1.672 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 9.279e-05/0.005374, allocations: 123.8 kB / 0.6212 GB, free: 1.543 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.829e-05/0.005393, allocations: 4 kB / 0.6212 GB, free: 1.539 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002113/0.005604, allocations: 104.6 kB / 0.6213 GB, free: 1.434 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.005609, allocations: 4 kB / 0.6213 GB, free: 1.43 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.005613, allocations: 0 / 0.6213 GB, free: 1.43 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.005617, allocations: 0 / 0.6213 GB, free: 1.43 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001228/0.005739, allocations: 121.3 kB / 0.6215 GB, free: 1.281 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.005743, allocations: 4 kB / 0.6215 GB, free: 1.277 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.522e-05/0.005818, allocations: 15.98 kB / 0.6215 GB, free: 1.262 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.005821, allocations: 0 / 0.6215 GB, free: 1.262 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.357e-06/0.00583, allocations: 4 kB / 0.6215 GB, free: 1.258 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.948e-06/0.005834, allocations: 3.938 kB / 0.6215 GB, free: 1.254 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/0.005839, allocations: 4 kB / 0.6215 GB, free: 1.25 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001562/0.005995, allocations: 120.4 kB / 0.6216 GB, free: 1.102 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.016e-05/0.006005, allocations: 7.953 kB / 0.6216 GB, free: 1.094 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.38e-05/0.006019, allocations: 4 kB / 0.6216 GB, free: 1.09 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.268e-05/0.006051, allocations: 8 kB / 0.6216 GB, free: 1.082 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.252e-05/0.006074, allocations: 11.92 kB / 0.6216 GB, free: 1.07 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.043e-06/0.006081, allocations: 4 kB / 0.6216 GB, free: 1.066 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.162e-05/0.006123, allocations: 75.28 kB / 0.6217 GB, free: 0.9922 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8.1e-08/0.006123, allocations: 0 / 0.6217 GB, free: 0.9922 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002099/0.006333, allocations: 12 kB / 0.6217 GB, free: 0.9805 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.0001745/0.006507, allocations: 103.2 kB / 0.6218 GB, free: 0.8672 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001145/0.006622, allocations: 36.11 kB / 0.6218 GB, free: 0.832 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.006624, allocations: 4.062 kB / 0.6219 GB, free: 0.8281 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 4.588e-05/0.00667, allocations: 23.92 kB / 0.6219 GB, free: 0.8047 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001509/0.006821, allocations: 8 kB / 0.6219 GB, free: 0.7969 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003235/0.007144, allocations: 152.1 kB / 0.622 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.352e-05/0.007208, allocations: 63.34 kB / 0.6221 GB, free: 0.5273 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 3.895e-05/0.007247, allocations: 12.31 kB / 0.6221 GB, free: 0.5156 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.866e-05/0.007276, allocations: 12.5 kB / 0.6221 GB, free: 0.5039 MB / 0.5294 GB Notification: Performance of SimCode: time 5.01e-07/0.007276, allocations: 0 / 0.6221 GB, free: 0.5039 MB / 0.5294 GB Notification: Performance of Templates: time 0.003018/0.01029, allocations: 0.5408 MB / 0.6226 GB, free: 15.97 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.722980249673128] Failed to read output from testmodel.py, exit status != 0: 0.01914031431078911 0.034813438 0.028926546 Calling exit ...