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.0007129/0.0007129, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0007371/0.0007371, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.8553/0.8553, allocations: 177.1 MB / 203.5 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] 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 0.6791/0.6791, allocations: 154.6 MB / 414.5 MB, free: 0.7852 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 179] 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.623e-06/1.623e-06, allocations: 0 / 0.6194 GB, free: 13.08 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.654e-05/1.816e-05, allocations: 2.281 kB / 0.6194 GB, free: 13.08 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Round): time 0.0009947/0.001013, allocations: 0.6075 MB / 0.62 GB, free: 12.47 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0002056/0.001218, allocations: 59.73 kB / 0.62 GB, free: 12.41 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.599e-05/0.001234, allocations: 0 / 0.62 GB, free: 12.41 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.735e-05/0.001252, allocations: 3.938 kB / 0.62 GB, free: 12.41 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 7.253e-06/0.001259, allocations: 0 / 0.62 GB, free: 12.41 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002367/0.001496, allocations: 23.97 kB / 0.6201 GB, free: 12.39 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 4.768e-05/0.001543, allocations: 4 kB / 0.6201 GB, free: 12.38 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 3.964e-05/0.001583, allocations: 4 kB / 0.6201 GB, free: 12.38 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 2.921e-05/0.001612, allocations: 11.98 kB / 0.6201 GB, free: 12.37 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 4.113e-05/0.001653, allocations: 7.984 kB / 0.6201 GB, free: 12.36 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.293e-05/0.001666, allocations: 3.938 kB / 0.6201 GB, free: 12.36 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 6.451e-05/0.001731, allocations: 15.92 kB / 0.6201 GB, free: 12.34 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.429e-05/0.001745, allocations: 3.938 kB / 0.6201 GB, free: 12.34 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.58e-05/0.001761, allocations: 3.984 kB / 0.6201 GB, free: 12.33 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 8.31e-05/0.001844, allocations: 23.91 kB / 0.6201 GB, free: 12.31 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.754e-06/0.001846, allocations: 4 kB / 0.6202 GB, free: 12.3 MB / 0.5886 GB Notification: Performance of FrontEnd: time 6.71e-07/0.001846, allocations: 0 / 0.6202 GB, free: 12.3 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.001851, allocations: 0 / 0.6202 GB, free: 12.3 MB / 0.5886 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.0002826/0.002133, allocations: 250.4 kB / 0.6204 GB, free: 12.03 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/0.00217, allocations: 8.031 kB / 0.6204 GB, free: 12.02 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.951e-05/0.002199, allocations: 0.9375 kB / 0.6204 GB, free: 12.02 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.496e-05/0.002254, allocations: 109.8 kB / 0.6205 GB, free: 11.89 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.118e-05/0.002266, allocations: 4.375 kB / 0.6205 GB, free: 11.88 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.227e-06/0.002275, allocations: 4.375 kB / 0.6205 GB, free: 11.88 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001065/0.002381, allocations: 74.47 kB / 0.6206 GB, free: 11.79 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-06/0.002389, allocations: 4.188 kB / 0.6206 GB, free: 11.78 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.037e-06/0.002398, allocations: 384 / 0.6206 GB, free: 11.78 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-06/0.002402, allocations: 384 / 0.6206 GB, free: 11.78 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.787e-05/0.00243, allocations: 19.86 kB / 0.6206 GB, free: 11.76 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001173/0.002548, allocations: 128.9 kB / 0.6207 GB, free: 11.59 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 7.208e-05/0.00262, allocations: 96.97 kB / 0.6208 GB, free: 11.45 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.776e-05/0.002647, allocations: 28.42 kB / 0.6208 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000127/0.002774, allocations: 4 kB / 0.6209 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.245e-05/0.002797, allocations: 46.48 kB / 0.6209 GB, free: 11.35 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=5): time 7.92e-07/0.002798, allocations: 4 kB / 0.6209 GB, free: 11.35 MB / 0.5886 GB Notification: Performance of matching and sorting (n=5): time 0.0001673/0.002965, allocations: 73.5 kB / 0.621 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.905e-05/0.003024, allocations: 158.2 kB / 0.6211 GB, free: 11.08 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.432e-05/0.003048, allocations: 89.86 kB / 0.6212 GB, free: 10.98 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.116e-05/0.003059, allocations: 25.7 kB / 0.6212 GB, free: 10.95 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 1.928e-05/0.003079, allocations: 84.12 kB / 0.6213 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.502e-05/0.003114, allocations: 27.78 kB / 0.6213 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.525e-05/0.003139, allocations: 14.34 kB / 0.6214 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.621e-05/0.003215, allocations: 322.8 kB / 0.6217 GB, free: 10.49 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.616e-05/0.003231, allocations: 15.92 kB / 0.6217 GB, free: 10.48 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.516e-05/0.003257, allocations: 36.3 kB / 0.6217 GB, free: 10.43 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.891e-05/0.003305, allocations: 52.22 kB / 0.6218 GB, free: 10.36 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.003307, allocations: 0 / 0.6218 GB, free: 10.36 MB / 0.5886 GB Notification: Performance of matching and sorting (n=5) (initialization): time 6.367e-05/0.003371, allocations: 65.66 kB / 0.6218 GB, free: 10.29 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/0.003383, allocations: 8 kB / 0.6218 GB, free: 10.28 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.003389, allocations: 0 / 0.6218 GB, free: 10.28 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.018e-05/0.003399, allocations: 0 / 0.6218 GB, free: 10.28 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.646e-05/0.003455, allocations: 11.98 kB / 0.6218 GB, free: 10.27 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.531e-06/0.003461, allocations: 4 kB / 0.6218 GB, free: 10.27 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.757e-05/0.003478, allocations: 3.938 kB / 0.6218 GB, free: 10.26 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.753e-06/0.003485, allocations: 4 kB / 0.6219 GB, free: 10.26 MB / 0.5886 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 5.264e-05/0.003538, allocations: 114.8 kB / 0.622 GB, free: 10.14 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.951e-06/0.003544, allocations: 3.938 kB / 0.622 GB, free: 10.13 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001308/0.003675, allocations: 108.5 kB / 0.6221 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/0.003678, allocations: 4 kB / 0.6221 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.003682, allocations: 0 / 0.6221 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.003686, allocations: 4 kB / 0.6221 GB, free: 10.01 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.421e-05/0.00376, allocations: 117.2 kB / 0.6222 GB, free: 9.867 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.003761, allocations: 128 / 0.6222 GB, free: 9.867 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.563e-05/0.003797, allocations: 24.09 kB / 0.6222 GB, free: 9.844 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.96e-06/0.003802, allocations: 4 kB / 0.6222 GB, free: 9.84 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.262e-06/0.003808, allocations: 0 / 0.6222 GB, free: 9.84 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.003811, allocations: 7.984 kB / 0.6222 GB, free: 9.832 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.003812, allocations: 0 / 0.6222 GB, free: 9.832 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.602e-05/0.003898, allocations: 120.4 kB / 0.6223 GB, free: 9.684 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 7.494e-06/0.003905, allocations: 7.953 kB / 0.6223 GB, free: 9.676 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.066e-05/0.003916, allocations: 7.984 kB / 0.6224 GB, free: 9.668 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.451e-05/0.003931, allocations: 7.938 kB / 0.6224 GB, free: 9.66 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.65e-05/0.003947, allocations: 7.938 kB / 0.6224 GB, free: 9.652 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.777e-06/0.003951, allocations: 11.94 kB / 0.6224 GB, free: 9.641 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 1.85e-05/0.003969, allocations: 79.28 kB / 0.6225 GB, free: 9.562 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6e-08/0.003969, allocations: 0 / 0.6225 GB, free: 9.562 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001357/0.004105, allocations: 7.984 kB / 0.6225 GB, free: 9.555 MB / 0.5886 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 9.645e-05/0.004202, allocations: 99.19 kB / 0.6226 GB, free: 9.449 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 8.291e-05/0.004284, allocations: 39.92 kB / 0.6226 GB, free: 9.41 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.004286, allocations: 0 / 0.6226 GB, free: 9.41 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 2.312e-05/0.004309, allocations: 28.36 kB / 0.6226 GB, free: 9.383 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000108/0.004417, allocations: 8 kB / 0.6226 GB, free: 9.375 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002061/0.004623, allocations: 162 kB / 0.6228 GB, free: 9.172 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.889e-05/0.004662, allocations: 71.33 kB / 0.6229 GB, free: 9.082 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.083e-05/0.004683, allocations: 16.5 kB / 0.6229 GB, free: 9.066 MB / 0.5886 GB Notification: Performance of SimCode: time 3.71e-07/0.004683, allocations: 0 / 0.6229 GB, free: 9.066 MB / 0.5886 GB Notification: Performance of Templates: time 0.001447/0.006131, allocations: 0.711 MB / 0.6236 GB, free: 8.355 MB / 0.5886 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: 4.904185065999627] Failed to read output from testmodel.py, exit status != 0: 0.010306880809366703 0.017698903000000002 0.014304572000000002 Calling exit ...