Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0008719/0.0008719, allocations: 80.81 kB / 19.94 MB, free: 4.547 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.001092/0.001092, allocations: 173 kB / 23.36 MB, free: 1.133 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.9921/0.9921, allocations: 177.1 MB / 203.8 MB, free: 5.496 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.8229/0.8229, allocations: 154.6 MB / 414.8 MB, free: 0.5195 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.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.SmoothMin") translateModel(IDEAS.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.SmoothMin") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.963e-06/1.963e-06, allocations: 0 / 480.1 MB, free: 6.883 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.245e-05/2.442e-05, allocations: 7.922 kB / 480.1 MB, free: 6.879 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothMin): time 0.002321/0.002346, allocations: 1.553 MB / 481.6 MB, free: 5.348 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003263/0.002672, allocations: 152.6 kB / 481.8 MB, free: 5.199 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.02e-05/0.002702, allocations: 0.7812 kB / 481.8 MB, free: 5.199 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 4.078e-05/0.002743, allocations: 4.484 kB / 481.8 MB, free: 5.195 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 6.768e-05/0.002811, allocations: 2.844 kB / 481.8 MB, free: 5.195 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001742/0.002985, allocations: 33.83 kB / 481.8 MB, free: 5.164 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 8.234e-05/0.003067, allocations: 45.97 kB / 481.8 MB, free: 5.125 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.78e-05/0.003155, allocations: 15.98 kB / 481.9 MB, free: 5.109 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.971e-05/0.003205, allocations: 22.81 kB / 481.9 MB, free: 5.09 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.886e-05/0.003244, allocations: 18.12 kB / 481.9 MB, free: 5.074 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.266e-05/0.003256, allocations: 4 kB / 481.9 MB, free: 5.07 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.223e-05/0.003338, allocations: 33 kB / 481.9 MB, free: 5.039 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.877e-05/0.003357, allocations: 9.641 kB / 481.9 MB, free: 5.031 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 1.598e-05/0.003373, allocations: 10.08 kB / 482 MB, free: 5.023 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001115/0.003485, allocations: 67.97 kB / 482 MB, free: 4.961 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.633e-06/0.003486, allocations: 0 / 482 MB, free: 4.961 MB / 442.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.003487, allocations: 0 / 482 MB, free: 4.961 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.966e-06/0.00349, allocations: 1.188 kB / 482 MB, free: 4.961 MB / 442.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.0002613/0.003751, allocations: 265.2 kB / 482.3 MB, free: 4.68 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.788e-05/0.003779, allocations: 8.031 kB / 482.3 MB, free: 4.672 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003198/0.004099, allocations: 70.92 kB / 482.4 MB, free: 4.605 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.797e-05/0.004177, allocations: 121.7 kB / 482.5 MB, free: 4.461 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.979e-06/0.004187, allocations: 5.531 kB / 482.5 MB, free: 4.457 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.287e-06/0.004196, allocations: 1.703 kB / 482.5 MB, free: 4.457 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001615/0.004358, allocations: 104.3 kB / 482.6 MB, free: 4.348 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.781e-06/0.004363, allocations: 192 / 482.6 MB, free: 4.348 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.107e-06/0.004373, allocations: 384 / 482.6 MB, free: 4.348 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.004377, allocations: 2.156 kB / 482.6 MB, free: 4.348 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.485e-05/0.004432, allocations: 35.86 kB / 482.6 MB, free: 4.312 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003167/0.004748, allocations: 213.3 kB / 482.8 MB, free: 4.09 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001607/0.004909, allocations: 68.61 kB / 482.9 MB, free: 4.016 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.755e-05/0.004937, allocations: 17.86 kB / 482.9 MB, free: 3.996 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.306e-05/0.00495, allocations: 0 / 482.9 MB, free: 3.996 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.902e-05/0.004969, allocations: 34.56 kB / 483 MB, free: 3.953 MB / 442.7 MB Notification: Performance of pre-optimization done (n=3): time 1.353e-06/0.00497, allocations: 5.172 kB / 483 MB, free: 3.949 MB / 442.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001328/0.005103, allocations: 62.14 kB / 483 MB, free: 3.883 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.382e-05/0.005127, allocations: 52.09 kB / 483.1 MB, free: 3.82 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.903e-05/0.005176, allocations: 114.8 kB / 483.2 MB, free: 3.695 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.118e-05/0.005187, allocations: 26.27 kB / 483.2 MB, free: 3.664 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.843e-05/0.005215, allocations: 88.08 kB / 483.3 MB, free: 3.574 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.013e-05/0.005236, allocations: 12.45 kB / 483.3 MB, free: 3.562 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.341e-05/0.005269, allocations: 22.33 kB / 483.3 MB, free: 3.535 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000278/0.005547, allocations: 310.8 kB / 483.6 MB, free: 3.223 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.375e-05/0.005571, allocations: 12.81 kB / 483.6 MB, free: 3.211 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.941e-05/0.00559, allocations: 4.516 kB / 483.6 MB, free: 3.207 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.251e-05/0.005633, allocations: 23.02 kB / 483.7 MB, free: 3.184 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.005634, allocations: 1.688 kB / 483.7 MB, free: 3.184 MB / 442.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.758e-05/0.005702, allocations: 49.67 kB / 483.7 MB, free: 3.129 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.121e-05/0.005713, allocations: 11.94 kB / 483.7 MB, free: 3.117 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.005717, allocations: 0 / 483.7 MB, free: 3.117 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.215e-06/0.005725, allocations: 0.9062 kB / 483.7 MB, free: 3.117 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.582e-05/0.005811, allocations: 19.97 kB / 483.8 MB, free: 3.098 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.915e-06/0.005814, allocations: 5.281 kB / 483.8 MB, free: 3.094 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.323e-05/0.005857, allocations: 11.98 kB / 483.8 MB, free: 3.082 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.424e-06/0.005865, allocations: 0.9062 kB / 483.8 MB, free: 3.082 MB / 442.7 MB 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 5.052e-05/0.005915, allocations: 117.8 kB / 483.9 MB, free: 2.957 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.672e-05/0.005932, allocations: 2.344 kB / 483.9 MB, free: 2.957 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.561e-05/0.005958, allocations: 15.92 kB / 483.9 MB, free: 2.941 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.313e-06/0.005959, allocations: 0 / 483.9 MB, free: 2.941 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.282e-06/0.00596, allocations: 0 / 483.9 MB, free: 2.941 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.944e-06/0.005962, allocations: 0 / 483.9 MB, free: 2.941 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.59e-05/0.006048, allocations: 73.89 kB / 484 MB, free: 2.852 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.52e-07/0.006049, allocations: 1.688 kB / 484 MB, free: 2.852 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.036e-05/0.006109, allocations: 23.97 kB / 484 MB, free: 2.828 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.006111, allocations: 1.547 kB / 484 MB, free: 2.828 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.245e-06/0.006119, allocations: 5.812 kB / 484 MB, free: 2.824 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.00612, allocations: 0 / 484 MB, free: 2.824 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.006122, allocations: 3.938 kB / 484 MB, free: 2.82 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.252e-05/0.006214, allocations: 147.5 kB / 484.2 MB, free: 2.66 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.082e-06/0.00622, allocations: 11.89 kB / 484.2 MB, free: 2.648 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.819e-06/0.00623, allocations: 0.75 kB / 484.2 MB, free: 2.648 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.092e-05/0.006291, allocations: 13.2 kB / 484.2 MB, free: 2.637 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.892e-05/0.00632, allocations: 7.922 kB / 484.2 MB, free: 2.629 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.831e-06/0.006326, allocations: 4 kB / 484.2 MB, free: 2.625 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.057e-05/0.006336, allocations: 13.64 kB / 484.2 MB, free: 2.609 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006336, allocations: 0 / 484.2 MB, free: 2.609 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001241/0.00646, allocations: 17.06 kB / 484.2 MB, free: 2.594 MB / 442.7 MB 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 5.834e-05/0.006519, allocations: 76.41 kB / 484.3 MB, free: 2.512 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 7.588e-05/0.006595, allocations: 21.36 kB / 484.3 MB, free: 2.488 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.006598, allocations: 4.844 kB / 484.3 MB, free: 2.484 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 3.088e-05/0.006628, allocations: 21.81 kB / 484.3 MB, free: 2.461 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001248/0.006753, allocations: 16.72 kB / 484.4 MB, free: 2.445 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002875/0.007041, allocations: 163.8 kB / 484.5 MB, free: 2.262 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.467e-05/0.007075, allocations: 56.11 kB / 484.6 MB, free: 2.188 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 4.259e-05/0.007118, allocations: 11.2 kB / 484.6 MB, free: 2.18 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.244e-05/0.00718, allocations: 51.38 kB / 484.6 MB, free: 2.129 MB / 442.7 MB Notification: Performance of SimCode: time 5.71e-07/0.007181, allocations: 1.219 kB / 484.6 MB, free: 2.129 MB / 442.7 MB Notification: Performance of Templates: time 0.00208/0.009261, allocations: 0.9385 MB / 485.6 MB, free: 1.242 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.SmoothMin.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.SmoothMin.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.SmoothMin.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.SmoothMin -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.SmoothMin.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6380979898385704]