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.0009662/0.0009662, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.0009811/0.0009811, allocations: 165 kB / 23.02 MB, free: 1.551 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.9891/0.9891, allocations: 177.1 MB / 203.4 MB, free: 5.645 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.8333/0.8333, allocations: 154.6 MB / 414.5 MB, free: 0.6758 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.323e-06/1.323e-06, allocations: 0 / 0.5203 GB, free: 2.223 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.403e-05/2.535e-05, allocations: 2.312 kB / 0.5203 GB, free: 2.219 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothLimit): time 0.001862/0.001888, allocations: 1.507 MB / 0.5218 GB, free: 0.7227 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007979/0.002685, allocations: 0.6002 MB / 0.5224 GB, free: 124 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.732e-05/0.002733, allocations: 4 kB / 0.5224 GB, free: 120 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.658e-05/0.002759, allocations: 5.609 kB / 0.5224 GB, free: 116 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.214e-05/0.002801, allocations: 7.875 kB / 0.5224 GB, free: 108 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002475/0.003049, allocations: 57.61 kB / 0.5225 GB, free: 52 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 7.922e-05/0.003128, allocations: 31.86 kB / 0.5225 GB, free: 20 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.639e-05/0.003205, allocations: 8 kB / 0.5225 GB, free: 12 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001174/0.003322, allocations: 28.02 kB / 0.5225 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 3.824e-05/0.00336, allocations: 11.97 kB / 0.5225 GB, free: 15.97 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.325e-05/0.003373, allocations: 1.75 kB / 0.5225 GB, free: 15.97 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 9.563e-05/0.003469, allocations: 51.95 kB / 0.5226 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 1.178e-05/0.003481, allocations: 8 kB / 0.5226 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 1.677e-05/0.003498, allocations: 7.922 kB / 0.5226 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001256/0.003623, allocations: 80.47 kB / 0.5227 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.823e-06/0.003625, allocations: 0 / 0.5227 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of FrontEnd: time 6.71e-07/0.003626, allocations: 0 / 0.5227 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.497e-06/0.003629, allocations: 5.344 kB / 0.5227 GB, free: 15.82 MB / 0.4948 GB 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.0003105/0.00394, allocations: 372.5 kB / 0.523 GB, free: 15.42 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.457e-05/0.003974, allocations: 8.031 kB / 0.523 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00011/0.004084, allocations: 22.22 kB / 0.5231 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001208/0.004205, allocations: 120.5 kB / 0.5232 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.327e-06/0.004214, allocations: 4.375 kB / 0.5232 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.236e-06/0.004223, allocations: 1.844 kB / 0.5232 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.396e-05/0.004317, allocations: 54.89 kB / 0.5232 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.757e-06/0.004325, allocations: 4.172 kB / 0.5232 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.446e-06/0.004334, allocations: 384 / 0.5232 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.485e-06/0.004342, allocations: 10.47 kB / 0.5233 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.444e-05/0.004367, allocations: 0 / 0.5233 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002337/0.0046, allocations: 251.8 kB / 0.5235 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 4.39e-05/0.004644, allocations: 27.06 kB / 0.5235 GB, free: 14.85 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.011e-05/0.004664, allocations: 15.75 kB / 0.5235 GB, free: 14.83 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002733/0.004938, allocations: 77.89 kB / 0.5236 GB, free: 14.76 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.114e-05/0.004959, allocations: 37.33 kB / 0.5236 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=2): time 1.323e-06/0.00496, allocations: 1.531 kB / 0.5236 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2): time 0.0001332/0.005093, allocations: 45.69 kB / 0.5237 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.649e-05/0.00512, allocations: 55.41 kB / 0.5237 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.197e-05/0.005192, allocations: 167.1 kB / 0.5239 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.088e-05/0.005203, allocations: 29.7 kB / 0.5239 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.357e-05/0.005246, allocations: 134.8 kB / 0.5241 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.46e-05/0.005261, allocations: 3.25 kB / 0.5241 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.607e-05/0.005287, allocations: 27.36 kB / 0.5241 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001071/0.005394, allocations: 496.1 kB / 0.5246 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.303e-05/0.005407, allocations: 4 kB / 0.5246 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.608e-06/0.005417, allocations: 4 kB / 0.5246 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.752e-05/0.005444, allocations: 19.67 kB / 0.5246 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.005448, allocations: 4 kB / 0.5246 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.323e-05/0.005501, allocations: 40.59 kB / 0.5246 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/0.005514, allocations: 11.88 kB / 0.5246 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.606e-06/0.005517, allocations: 0 / 0.5246 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.005529, allocations: 0 / 0.5246 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.21e-05/0.005581, allocations: 7.984 kB / 0.5247 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.005587, allocations: 7.938 kB / 0.5247 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.327e-05/0.0056, allocations: 0 / 0.5247 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.127e-06/0.005604, allocations: 1.5 kB / 0.5247 GB, free: 13.61 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 0.0002678/0.005872, allocations: 160.6 kB / 0.5248 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.602e-05/0.005888, allocations: 7.891 kB / 0.5248 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.972e-05/0.005977, allocations: 49.41 kB / 0.5249 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.005979, allocations: 2.281 kB / 0.5249 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.796e-06/0.005982, allocations: 4 kB / 0.5249 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.005985, allocations: 3.984 kB / 0.5249 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.69e-05/0.006082, allocations: 116.6 kB / 0.525 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.006084, allocations: 0 / 0.525 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.968e-05/0.006103, allocations: 7.984 kB / 0.525 GB, free: 13.22 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.006106, allocations: 2.438 kB / 0.525 GB, free: 13.22 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.934e-06/0.006113, allocations: 7.938 kB / 0.525 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.006114, allocations: 0 / 0.525 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.006114, allocations: 0 / 0.525 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.262e-05/0.006197, allocations: 191.9 kB / 0.5252 GB, free: 13 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.162e-06/0.006203, allocations: 3.953 kB / 0.5252 GB, free: 13 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.337e-06/0.006213, allocations: 5.906 kB / 0.5252 GB, free: 13 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.692e-05/0.006239, allocations: 4 kB / 0.5252 GB, free: 12.99 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.454e-05/0.006264, allocations: 3.984 kB / 0.5252 GB, free: 12.99 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.863e-06/0.006266, allocations: 0 / 0.5252 GB, free: 12.99 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.783e-05/0.006304, allocations: 135.2 kB / 0.5253 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.006304, allocations: 0 / 0.5253 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001503/0.006454, allocations: 20.95 kB / 0.5254 GB, free: 12.84 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.0001125/0.006567, allocations: 108.1 kB / 0.5255 GB, free: 12.72 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 7.098e-05/0.006638, allocations: 19.61 kB / 0.5255 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.172e-06/0.006639, allocations: 0.9062 kB / 0.5255 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.604e-05/0.006655, allocations: 19.62 kB / 0.5255 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001431/0.006798, allocations: 6.438 kB / 0.5255 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004005/0.007198, allocations: 134.1 kB / 0.5256 GB, free: 12.51 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.306e-05/0.007231, allocations: 55.36 kB / 0.5257 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.623e-05/0.007248, allocations: 10.69 kB / 0.5257 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.972e-05/0.007267, allocations: 8.5 kB / 0.5257 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of SimCode: time 4.91e-07/0.007268, allocations: 3.938 kB / 0.5257 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of Templates: time 0.002185/0.009453, allocations: 0.7029 MB / 0.5264 GB, free: 11.76 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.9696764098480344]