Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit.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.0009195/0.0009195, allocations: 92.2 kB / 20.19 MB, free: 4.352 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.001962/0.001962, allocations: 169 kB / 23.49 MB, free: 1.047 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.984/0.984, allocations: 177.1 MB / 203.8 MB, free: 5.629 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-545:108: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-545:116: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.8058/0.8058, allocations: 154.6 MB / 414.9 MB, free: 0.6797 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.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit") translateModel(IDEAS.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.904e-06/1.904e-06, allocations: 0 / 0.5203 GB, free: 2.512 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.966e-05/3.156e-05, allocations: 2.312 kB / 0.5203 GB, free: 2.508 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothLimit): time 0.002695/0.002727, allocations: 1.507 MB / 0.5218 GB, free: 1.008 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008471/0.003574, allocations: 0.6014 MB / 0.5224 GB, free: 412 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.267e-05/0.003637, allocations: 4.969 kB / 0.5224 GB, free: 408 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.823e-05/0.003665, allocations: 3.938 kB / 0.5224 GB, free: 404 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.68e-05/0.003712, allocations: 5.688 kB / 0.5224 GB, free: 400 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000321/0.004033, allocations: 51.81 kB / 0.5225 GB, free: 348 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001048/0.004137, allocations: 31.86 kB / 0.5225 GB, free: 316 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.209e-05/0.00423, allocations: 7.938 kB / 0.5225 GB, free: 308 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001285/0.004358, allocations: 33 kB / 0.5225 GB, free: 276 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.286e-05/0.004401, allocations: 7.984 kB / 0.5225 GB, free: 268 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.412e-05/0.004415, allocations: 4.688 kB / 0.5226 GB, free: 264 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001203/0.004535, allocations: 55.94 kB / 0.5226 GB, free: 208 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.245e-05/0.004548, allocations: 1.188 kB / 0.5226 GB, free: 208 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.298e-05/0.004571, allocations: 11.94 kB / 0.5226 GB, free: 196 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001488/0.00472, allocations: 75.78 kB / 0.5227 GB, free: 120 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.995e-06/0.004723, allocations: 1.438 kB / 0.5227 GB, free: 120 kB / 490.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.004724, allocations: 0 / 0.5227 GB, free: 120 kB / 490.7 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.004729, allocations: 0 / 0.5227 GB, free: 120 kB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003873/0.005116, allocations: 372.4 kB / 0.523 GB, free: 15.72 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.809e-05/0.005155, allocations: 12.81 kB / 0.5231 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001337/0.005288, allocations: 16.88 kB / 0.5231 GB, free: 15.69 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001522/0.00544, allocations: 133.3 kB / 0.5232 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.876e-06/0.005449, allocations: 384 / 0.5232 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.016e-06/0.005458, allocations: 7.156 kB / 0.5232 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001204/0.005579, allocations: 46.95 kB / 0.5233 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.073e-06/0.005586, allocations: 192 / 0.5233 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.288e-05/0.005599, allocations: 8.359 kB / 0.5233 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.235e-06/0.005607, allocations: 3.938 kB / 0.5233 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.803e-05/0.005635, allocations: 4 kB / 0.5233 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002649/0.0059, allocations: 255.8 kB / 0.5235 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 4.862e-05/0.005949, allocations: 27.56 kB / 0.5235 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.985e-05/0.005968, allocations: 12.27 kB / 0.5236 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002977/0.006266, allocations: 77.94 kB / 0.5236 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.445e-05/0.006291, allocations: 42.58 kB / 0.5237 GB, free: 15 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=2): time 1.283e-06/0.006292, allocations: 0 / 0.5237 GB, free: 15 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2): time 0.0001603/0.006452, allocations: 49.62 kB / 0.5237 GB, free: 14.94 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.165e-05/0.006484, allocations: 55.91 kB / 0.5238 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.292e-05/0.006567, allocations: 167 kB / 0.5239 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.095e-05/0.006578, allocations: 25.7 kB / 0.524 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.017e-05/0.006628, allocations: 138.8 kB / 0.5241 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.698e-05/0.006645, allocations: 5.047 kB / 0.5241 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.95e-05/0.006674, allocations: 19.38 kB / 0.5241 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001242/0.006798, allocations: 496.1 kB / 0.5246 GB, free: 14 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.537e-05/0.006814, allocations: 4.625 kB / 0.5246 GB, free: 13.99 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.388e-06/0.006823, allocations: 1.375 kB / 0.5246 GB, free: 13.99 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.448e-05/0.006858, allocations: 19.67 kB / 0.5246 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.00686, allocations: 0 / 0.5246 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.989e-05/0.006919, allocations: 46.16 kB / 0.5246 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.006935, allocations: 11.38 kB / 0.5247 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.006939, allocations: 0 / 0.5247 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.006952, allocations: 3.938 kB / 0.5247 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.284e-05/0.007015, allocations: 7.984 kB / 0.5247 GB, free: 13.9 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.007021, allocations: 0 / 0.5247 GB, free: 13.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.402e-05/0.007035, allocations: 4 kB / 0.5247 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.679e-06/0.00704, allocations: 0 / 0.5247 GB, free: 13.89 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (2): * Single equations (assignments): 2 * 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 6.434e-05/0.007104, allocations: 152.6 kB / 0.5248 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.721e-05/0.007121, allocations: 18.42 kB / 0.5248 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000108/0.007229, allocations: 52.84 kB / 0.5249 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.007231, allocations: 0 / 0.5249 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.007236, allocations: 3.984 kB / 0.5249 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.007241, allocations: 4 kB / 0.5249 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000104/0.007345, allocations: 112.6 kB / 0.525 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.007348, allocations: 3.984 kB / 0.525 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.207e-05/0.00737, allocations: 4.781 kB / 0.525 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.007372, allocations: 1.25 kB / 0.525 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.444e-06/0.00738, allocations: 3.938 kB / 0.525 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.007381, allocations: 0 / 0.525 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.007382, allocations: 4 kB / 0.525 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001124/0.007494, allocations: 180.7 kB / 0.5252 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.568e-06/0.007504, allocations: 8.922 kB / 0.5252 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.21e-05/0.007516, allocations: 11.88 kB / 0.5252 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.552e-05/0.007541, allocations: 0 / 0.5252 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.412e-05/0.007575, allocations: 10.73 kB / 0.5252 GB, free: 13.28 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.747e-06/0.007579, allocations: 4 kB / 0.5252 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.668e-05/0.007626, allocations: 131.5 kB / 0.5254 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.007626, allocations: 0 / 0.5254 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001649/0.007791, allocations: 23.92 kB / 0.5254 GB, free: 13.12 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (2): * Single equations (assignments): 2 * 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.0001599/0.007951, allocations: 103.2 kB / 0.5255 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 8.357e-05/0.008034, allocations: 22.36 kB / 0.5255 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.008036, allocations: 0 / 0.5255 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.752e-05/0.008053, allocations: 15.62 kB / 0.5255 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000166/0.008219, allocations: 9.484 kB / 0.5255 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004715/0.008691, allocations: 143.9 kB / 0.5257 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.473e-05/0.008726, allocations: 55.36 kB / 0.5257 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.891e-05/0.008744, allocations: 0 / 0.5257 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.395e-05/0.008768, allocations: 13.38 kB / 0.5257 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of SimCode: time 9.22e-07/0.008769, allocations: 0 / 0.5257 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of Templates: time 0.002378/0.01115, allocations: 0.6998 MB / 0.5264 GB, free: 12.05 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.945190182188526]