Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothMin.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.001478/0.001478, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001136/0.001136, allocations: 173.3 kB / 23.49 MB, free: 1.062 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.9445/0.9445, allocations: 177.1 MB / 203.8 MB, free: 5.648 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7824/0.7824, allocations: 154.8 MB / 415.1 MB, free: 476 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothMin") translateModel(IDEAS.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothMin") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 0.5206 GB, free: 2.262 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.663e-05/1.816e-05, allocations: 8 kB / 0.5206 GB, free: 2.254 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothMin): time 0.005121/0.00514, allocations: 1.516 MB / 0.5221 GB, free: 0.7461 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003444/0.005484, allocations: 145.1 kB / 0.5222 GB, free: 0.6055 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.503e-05/0.005519, allocations: 0 / 0.5222 GB, free: 0.6055 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 4.545e-05/0.005564, allocations: 0 / 0.5222 GB, free: 0.6055 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.934e-05/0.005634, allocations: 7.938 kB / 0.5222 GB, free: 0.5977 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000219/0.005853, allocations: 37.59 kB / 0.5222 GB, free: 0.5625 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001029/0.005956, allocations: 43.89 kB / 0.5223 GB, free: 0.5195 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001065/0.006062, allocations: 12 kB / 0.5223 GB, free: 0.5078 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.275e-05/0.006115, allocations: 27.91 kB / 0.5223 GB, free: 492 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.793e-05/0.006153, allocations: 13.64 kB / 0.5223 GB, free: 480 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.538e-05/0.006168, allocations: 4 kB / 0.5223 GB, free: 476 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.245e-05/0.006251, allocations: 35.97 kB / 0.5224 GB, free: 440 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.878e-05/0.006269, allocations: 11.92 kB / 0.5224 GB, free: 428 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.205e-05/0.006292, allocations: 8.75 kB / 0.5224 GB, free: 420 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001271/0.006419, allocations: 59.8 kB / 0.5225 GB, free: 360 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.274e-06/0.006421, allocations: 1.406 kB / 0.5225 GB, free: 360 kB / 490.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.006422, allocations: 0 / 0.5225 GB, free: 360 kB / 490.7 MB Notification: Performance of Transformations before backend: time 4.037e-06/0.006426, allocations: 0 / 0.5225 GB, free: 360 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003711/0.006797, allocations: 384.5 kB / 0.5228 GB, free: 15.94 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.258e-05/0.006829, allocations: 9.375 kB / 0.5228 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005696/0.007399, allocations: 157.8 kB / 0.523 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.776e-05/0.007487, allocations: 119.3 kB / 0.5231 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003018/0.0105, allocations: 4.375 kB / 0.5231 GB, free: 15.63 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.728e-05/0.01052, allocations: 4.375 kB / 0.5231 GB, free: 15.63 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002704/0.01079, allocations: 126.8 kB / 0.5232 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.703e-06/0.0108, allocations: 192 / 0.5232 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.586e-05/0.01082, allocations: 4.375 kB / 0.5232 GB, free: 15.49 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.133e-06/0.01082, allocations: 0.9375 kB / 0.5232 GB, free: 15.49 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.994e-05/0.01092, allocations: 44.89 kB / 0.5233 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005165/0.01144, allocations: 342.2 kB / 0.5236 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002679/0.01171, allocations: 91.94 kB / 0.5237 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.071e-05/0.01176, allocations: 23.73 kB / 0.5237 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.057e-05/0.01178, allocations: 5.344 kB / 0.5237 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.906e-05/0.01181, allocations: 45.27 kB / 0.5238 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.01181, allocations: 0 / 0.5238 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.0002443/0.01205, allocations: 70.83 kB / 0.5238 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.139e-05/0.01208, allocations: 51.41 kB / 0.5239 GB, free: 14.76 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.506e-05/0.01217, allocations: 169.9 kB / 0.524 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.628e-05/0.01218, allocations: 26.39 kB / 0.5241 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.634e-05/0.01224, allocations: 142.8 kB / 0.5242 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.227e-05/0.01226, allocations: 5.234 kB / 0.5242 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.876e-05/0.01231, allocations: 31.36 kB / 0.5242 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001363/0.01245, allocations: 496.1 kB / 0.5247 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.61e-05/0.01249, allocations: 15.98 kB / 0.5247 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.706e-05/0.01253, allocations: 11.19 kB / 0.5247 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.643e-05/0.01261, allocations: 31.61 kB / 0.5248 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.01261, allocations: 0 / 0.5248 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001338/0.01274, allocations: 65.91 kB / 0.5248 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.01276, allocations: 10.19 kB / 0.5248 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.01276, allocations: 0 / 0.5248 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.01278, allocations: 4 kB / 0.5248 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001097/0.01289, allocations: 22.75 kB / 0.5249 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.168e-06/0.01289, allocations: 0 / 0.5249 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.683e-05/0.01296, allocations: 11.98 kB / 0.5249 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.303e-05/0.01297, allocations: 11.97 kB / 0.5249 GB, free: 13.68 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 (3): * Single equations (assignments): 3 * 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.947e-05/0.01304, allocations: 152.6 kB / 0.525 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.052e-05/0.01307, allocations: 13.22 kB / 0.525 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.106e-05/0.0131, allocations: 8 kB / 0.5251 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.0131, allocations: 0 / 0.5251 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.966e-06/0.01311, allocations: 0.5 kB / 0.5251 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.01311, allocations: 6.031 kB / 0.5251 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001388/0.01325, allocations: 132.6 kB / 0.5252 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.01325, allocations: 0 / 0.5252 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.234e-05/0.01333, allocations: 19.97 kB / 0.5252 GB, free: 13.31 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.01333, allocations: 3.938 kB / 0.5252 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.077e-05/0.01335, allocations: 2.438 kB / 0.5252 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.01335, allocations: 3.938 kB / 0.5252 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.01335, allocations: 4 kB / 0.5252 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001766/0.01353, allocations: 207.9 kB / 0.5254 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.624e-06/0.01353, allocations: 4 kB / 0.5254 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.597e-05/0.01355, allocations: 3.938 kB / 0.5254 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.621e-05/0.01365, allocations: 18.19 kB / 0.5254 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.985e-05/0.01368, allocations: 3.938 kB / 0.5254 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.125e-06/0.01368, allocations: 4 kB / 0.5254 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.222e-05/0.01373, allocations: 131.2 kB / 0.5256 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7.1e-08/0.01373, allocations: 0 / 0.5256 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002232/0.01395, allocations: 20.92 kB / 0.5256 GB, free: 12.89 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 (3): * Single equations (assignments): 3 * 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 7.536e-05/0.01402, allocations: 95.8 kB / 0.5257 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001309/0.01416, allocations: 35.67 kB / 0.5257 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.182e-06/0.01416, allocations: 0 / 0.5257 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 5.213e-05/0.01421, allocations: 28.33 kB / 0.5257 GB, free: 12.72 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002269/0.01444, allocations: 12.69 kB / 0.5258 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004051/0.01484, allocations: 174 kB / 0.5259 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.65e-05/0.01488, allocations: 59.34 kB / 0.526 GB, free: 12.44 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 5.649e-05/0.01493, allocations: 20.44 kB / 0.526 GB, free: 12.42 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.621e-05/0.01498, allocations: 12.48 kB / 0.526 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of SimCode: time 5.31e-07/0.01498, allocations: 0 / 0.526 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of Templates: time 0.005611/0.02059, allocations: 0.9494 MB / 0.5269 GB, free: 11.49 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothMin.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothMin.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothMin.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothMin -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothMin.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.875413602916524]