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.001496/0.001496, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001728/0.001728, allocations: 215.5 kB / 22.25 MB, free: 4.859 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.551/1.551, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.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.342/1.342, allocations: 203.5 MB / 0.5038 GB, free: 4.914 MB / 414.1 MB " [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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00214/0.00214, allocations: 71.89 kB / 0.7183 GB, free: 2.281 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7363/0.7384, allocations: 102 MB / 0.8179 GB, free: 29.13 MB / 0.6387 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Round): time 0.001959/0.7404, allocations: 0.6067 MB / 0.8185 GB, free: 28.78 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.0002926/0.7407, allocations: 59.33 kB / 0.8185 GB, free: 28.74 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.941e-05/0.7407, allocations: 0 / 0.8185 GB, free: 28.74 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 1.681e-05/0.7407, allocations: 2.438 kB / 0.8185 GB, free: 28.74 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 7.184e-06/0.7407, allocations: 0 / 0.8185 GB, free: 28.74 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002695/0.741, allocations: 24.89 kB / 0.8186 GB, free: 28.73 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 5.352e-05/0.7411, allocations: 7.125 kB / 0.8186 GB, free: 28.73 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 4.934e-05/0.7411, allocations: 11.22 kB / 0.8186 GB, free: 28.72 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 2.042e-05/0.7411, allocations: 9.359 kB / 0.8186 GB, free: 28.72 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 5.329e-05/0.7412, allocations: 4.609 kB / 0.8186 GB, free: 28.72 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 1.234e-05/0.7412, allocations: 2.031 kB / 0.8186 GB, free: 28.72 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 7.317e-05/0.7413, allocations: 9.516 kB / 0.8186 GB, free: 28.72 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 2.062e-05/0.7413, allocations: 10.34 kB / 0.8186 GB, free: 28.71 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 2.097e-05/0.7413, allocations: 6.656 kB / 0.8186 GB, free: 28.71 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0001025/0.7414, allocations: 22.39 kB / 0.8186 GB, free: 28.7 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.7414, allocations: 1.375 kB / 0.8186 GB, free: 28.7 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.864e-06/0.7414, allocations: 0 / 0.8186 GB, free: 28.7 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 4.528e-06/0.7414, allocations: 0 / 0.8186 GB, free: 28.7 MB / 0.6387 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.0003313/0.7417, allocations: 248.1 kB / 0.8189 GB, free: 28.45 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.7418, allocations: 9.594 kB / 0.8189 GB, free: 28.45 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.309e-05/0.7418, allocations: 2.531 kB / 0.8189 GB, free: 28.45 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.54e-05/0.7419, allocations: 117.6 kB / 0.819 GB, free: 28.31 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.43e-05/0.7419, allocations: 1.375 kB / 0.819 GB, free: 28.31 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.678e-06/0.7419, allocations: 3.031 kB / 0.819 GB, free: 28.31 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001506/0.7421, allocations: 69.44 kB / 0.8191 GB, free: 28.23 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.7421, allocations: 5.766 kB / 0.8191 GB, free: 28.23 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.148e-05/0.7421, allocations: 6.156 kB / 0.8191 GB, free: 28.23 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.7421, allocations: 1.344 kB / 0.8191 GB, free: 28.23 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.736e-05/0.7421, allocations: 21.3 kB / 0.8191 GB, free: 28.21 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001218/0.7423, allocations: 127.8 kB / 0.8192 GB, free: 28.05 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 8.134e-05/0.7423, allocations: 93.23 kB / 0.8193 GB, free: 27.93 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.714e-05/0.7424, allocations: 43.08 kB / 0.8194 GB, free: 27.88 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001575/0.7425, allocations: 7.109 kB / 0.8194 GB, free: 27.88 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.407e-05/0.7426, allocations: 38.7 kB / 0.8194 GB, free: 27.84 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=5): time 1.122e-06/0.7426, allocations: 0.9062 kB / 0.8194 GB, free: 27.84 MB / 0.6387 GB Notification: Performance of matching and sorting (n=5): time 0.0002768/0.7428, allocations: 73.09 kB / 0.8195 GB, free: 27.79 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.177e-05/0.7429, allocations: 167.1 kB / 0.8196 GB, free: 27.59 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.939e-05/0.7429, allocations: 89.86 kB / 0.8197 GB, free: 27.5 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 1.04e-05/0.7429, allocations: 26.3 kB / 0.8197 GB, free: 27.46 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 1.384e-05/0.7429, allocations: 81.47 kB / 0.8198 GB, free: 27.38 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 5.275e-05/0.743, allocations: 23.8 kB / 0.8198 GB, free: 27.37 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.544e-05/0.743, allocations: 18.88 kB / 0.8199 GB, free: 27.35 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 5.048e-05/0.7431, allocations: 317.5 kB / 0.8202 GB, free: 27.03 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.441e-05/0.7431, allocations: 5.5 kB / 0.8202 GB, free: 27.03 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.192e-05/0.7431, allocations: 32.42 kB / 0.8202 GB, free: 26.99 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.002e-05/0.7432, allocations: 56.27 kB / 0.8203 GB, free: 26.94 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.7432, allocations: 1.812 kB / 0.8203 GB, free: 26.94 MB / 0.6387 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001143/0.7433, allocations: 66.09 kB / 0.8203 GB, free: 26.89 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/0.7433, allocations: 5.719 kB / 0.8203 GB, free: 26.89 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.7434, allocations: 1.719 kB / 0.8203 GB, free: 26.89 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.7434, allocations: 1.906 kB / 0.8203 GB, free: 26.89 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.377e-05/0.7435, allocations: 13.55 kB / 0.8203 GB, free: 26.89 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.146e-05/0.7435, allocations: 6.297 kB / 0.8203 GB, free: 26.89 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.148e-05/0.7435, allocations: 1.844 kB / 0.8203 GB, free: 26.89 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.115e-05/0.7435, allocations: 6.516 kB / 0.8204 GB, free: 26.89 MB / 0.6387 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 4.954e-05/0.7436, allocations: 115 kB / 0.8205 GB, free: 26.77 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.634e-05/0.7436, allocations: 2.828 kB / 0.8205 GB, free: 26.77 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002076/0.7438, allocations: 112.2 kB / 0.8206 GB, free: 26.7 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.7438, allocations: 6.938 kB / 0.8206 GB, free: 26.7 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.7438, allocations: 1.25 kB / 0.8206 GB, free: 26.7 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.7438, allocations: 2.125 kB / 0.8206 GB, free: 26.7 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.63e-05/0.7439, allocations: 114.7 kB / 0.8207 GB, free: 26.56 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.7439, allocations: 1.156 kB / 0.8207 GB, free: 26.56 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.768e-05/0.744, allocations: 19.08 kB / 0.8207 GB, free: 26.56 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.307e-06/0.744, allocations: 1.531 kB / 0.8207 GB, free: 26.56 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.016e-05/0.744, allocations: 3.203 kB / 0.8207 GB, free: 26.56 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.569e-06/0.744, allocations: 7 kB / 0.8207 GB, free: 26.55 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.744, allocations: 6.031 kB / 0.8207 GB, free: 26.55 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000135/0.7441, allocations: 125.1 kB / 0.8208 GB, free: 26.43 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 1.198e-05/0.7441, allocations: 7.75 kB / 0.8209 GB, free: 26.43 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.467e-05/0.7441, allocations: 2.984 kB / 0.8209 GB, free: 26.43 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.094e-05/0.7442, allocations: 6.312 kB / 0.8209 GB, free: 26.43 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.421e-05/0.7442, allocations: 10.98 kB / 0.8209 GB, free: 26.42 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.655e-06/0.7442, allocations: 3.922 kB / 0.8209 GB, free: 26.42 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 1.374e-05/0.7442, allocations: 76.62 kB / 0.821 GB, free: 26.35 MB / 0.6387 GB Notification: Performance of sort global known variables: time 5e-08/0.7442, allocations: 0 / 0.821 GB, free: 26.35 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0002079/0.7444, allocations: 9.969 kB / 0.821 GB, free: 26.34 MB / 0.6387 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.0001354/0.7446, allocations: 112.5 kB / 0.8211 GB, free: 26.24 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0001206/0.7447, allocations: 31.36 kB / 0.8211 GB, free: 26.23 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.7447, allocations: 0.625 kB / 0.8211 GB, free: 26.23 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 3.951e-05/0.7447, allocations: 25.45 kB / 0.8211 GB, free: 26.22 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001575/0.7449, allocations: 10.75 kB / 0.8211 GB, free: 26.22 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002415/0.7451, allocations: 148.3 kB / 0.8213 GB, free: 26.07 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.466e-05/0.7452, allocations: 67.88 kB / 0.8213 GB, free: 25.99 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 3.808e-05/0.7452, allocations: 5.766 kB / 0.8213 GB, free: 25.99 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.48e-05/0.7452, allocations: 12.94 kB / 0.8214 GB, free: 25.98 MB / 0.6387 GB Notification: Performance of SimCode: time 3.2e-07/0.7452, allocations: 0 / 0.8214 GB, free: 25.98 MB / 0.6387 GB Notification: Performance of Templates: time 0.002935/0.7482, allocations: 0.5398 MB / 0.8219 GB, free: 25.89 MB / 0.6387 GB " [Timeout remaining time 659] 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: 7.0921968296170235] Failed to read output from testmodel.py, exit status != 0: 0.75750488974154 0.769622096 0.025584327 Calling exit ...