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.001078/0.001078, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001244/0.001244, allocations: 177 kB / 23.36 MB, free: 1.129 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 1.006/1.006, allocations: 177.1 MB / 203.8 MB, free: 5.477 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.7649/0.7649, allocations: 154.9 MB / 415.1 MB, free: 232 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.322e-06/1.322e-06, allocations: 0.5469 kB / 480.4 MB, free: 6.527 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.267e-05/2.399e-05, allocations: 2.312 kB / 480.4 MB, free: 6.523 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothMin): time 0.00198/0.002004, allocations: 1.509 MB / 481.9 MB, free: 5.035 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002896/0.002294, allocations: 146.8 kB / 482 MB, free: 4.895 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.672e-05/0.002321, allocations: 0 / 482 MB, free: 4.895 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 3.69e-05/0.002358, allocations: 8.484 kB / 482 MB, free: 4.887 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 6.08e-05/0.002418, allocations: 11.53 kB / 482 MB, free: 4.879 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001761/0.002594, allocations: 36.98 kB / 482.1 MB, free: 4.844 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 7.911e-05/0.002674, allocations: 38.38 kB / 482.1 MB, free: 4.812 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.696e-05/0.002771, allocations: 21.61 kB / 482.1 MB, free: 4.793 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.582e-05/0.002816, allocations: 21.84 kB / 482.2 MB, free: 4.773 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.496e-05/0.002851, allocations: 19.66 kB / 482.2 MB, free: 4.758 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.351e-05/0.002865, allocations: 4 kB / 482.2 MB, free: 4.754 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.719e-05/0.002932, allocations: 31.97 kB / 482.2 MB, free: 4.723 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.444e-05/0.002946, allocations: 5.531 kB / 482.2 MB, free: 4.719 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 1.834e-05/0.002965, allocations: 14.02 kB / 482.2 MB, free: 4.707 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000106/0.003071, allocations: 64.53 kB / 482.3 MB, free: 4.648 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.844e-06/0.003073, allocations: 0 / 482.3 MB, free: 4.648 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.003074, allocations: 0.7656 kB / 482.3 MB, free: 4.648 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.096e-06/0.003077, allocations: 0 / 482.3 MB, free: 4.648 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.0003157/0.003393, allocations: 263.9 kB / 482.5 MB, free: 4.367 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.616e-05/0.003419, allocations: 9.031 kB / 482.6 MB, free: 4.359 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003378/0.003757, allocations: 74.11 kB / 482.6 MB, free: 4.289 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.366e-05/0.00383, allocations: 116.2 kB / 482.7 MB, free: 4.152 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.041e-05/0.003841, allocations: 9.25 kB / 482.8 MB, free: 4.145 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.196e-05/0.003853, allocations: 4.375 kB / 482.8 MB, free: 4.141 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001635/0.004016, allocations: 105.9 kB / 482.9 MB, free: 4.031 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.741e-06/0.004022, allocations: 192 / 482.9 MB, free: 4.031 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.107e-06/0.004031, allocations: 384 / 482.9 MB, free: 4.031 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.948e-06/0.004035, allocations: 4.375 kB / 482.9 MB, free: 4.027 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.357e-05/0.004079, allocations: 23.94 kB / 482.9 MB, free: 4.004 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003138/0.004392, allocations: 216.8 kB / 483.1 MB, free: 3.777 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001634/0.004556, allocations: 68.92 kB / 483.2 MB, free: 3.703 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.558e-05/0.004581, allocations: 12.84 kB / 483.2 MB, free: 3.688 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.485e-05/0.004596, allocations: 5.281 kB / 483.2 MB, free: 3.684 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.707e-05/0.004613, allocations: 30.56 kB / 483.2 MB, free: 3.645 MB / 442.7 MB Notification: Performance of pre-optimization done (n=3): time 1.393e-06/0.004615, allocations: 1.438 kB / 483.2 MB, free: 3.645 MB / 442.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001416/0.004756, allocations: 58.22 kB / 483.3 MB, free: 3.582 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.848e-05/0.004785, allocations: 60.03 kB / 483.3 MB, free: 3.512 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.616e-05/0.004831, allocations: 114.8 kB / 483.4 MB, free: 3.387 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.209e-05/0.004843, allocations: 27.11 kB / 483.5 MB, free: 3.355 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.627e-05/0.004869, allocations: 88.62 kB / 483.6 MB, free: 3.266 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.121e-05/0.00489, allocations: 15.89 kB / 483.6 MB, free: 3.25 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.116e-05/0.004922, allocations: 18.31 kB / 483.6 MB, free: 3.227 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.04e-05/0.004992, allocations: 315.6 kB / 483.9 MB, free: 2.91 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.03e-05/0.005012, allocations: 4 kB / 483.9 MB, free: 2.906 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.047e-05/0.005033, allocations: 9.781 kB / 483.9 MB, free: 2.898 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.306e-05/0.005076, allocations: 28.7 kB / 483.9 MB, free: 2.871 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.005079, allocations: 4 kB / 483.9 MB, free: 2.867 MB / 442.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.56e-05/0.005154, allocations: 53.56 kB / 484 MB, free: 2.809 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.191e-05/0.005166, allocations: 8.469 kB / 484 MB, free: 2.801 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.00517, allocations: 0 / 484 MB, free: 2.801 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.566e-06/0.005179, allocations: 1 kB / 484 MB, free: 2.801 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.637e-05/0.005265, allocations: 20.72 kB / 484 MB, free: 2.781 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.485e-06/0.005268, allocations: 0 / 484 MB, free: 2.781 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.362e-05/0.005311, allocations: 12.92 kB / 484 MB, free: 2.77 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.274e-06/0.005318, allocations: 4 kB / 484 MB, free: 2.766 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 0.0001886/0.005507, allocations: 106.8 kB / 484.1 MB, free: 2.652 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.196e-05/0.005529, allocations: 11.98 kB / 484.2 MB, free: 2.641 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.375e-05/0.005563, allocations: 8.625 kB / 484.2 MB, free: 2.629 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.005565, allocations: 0.875 kB / 484.2 MB, free: 2.629 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/0.005567, allocations: 0 / 484.2 MB, free: 2.629 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.00557, allocations: 1.156 kB / 484.2 MB, free: 2.629 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001445/0.005715, allocations: 77.89 kB / 484.2 MB, free: 2.535 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.005717, allocations: 0 / 484.2 MB, free: 2.535 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.104e-05/0.005788, allocations: 21.88 kB / 484.3 MB, free: 2.516 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.00579, allocations: 0 / 484.3 MB, free: 2.516 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.492e-06/0.005796, allocations: 0 / 484.3 MB, free: 2.516 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.155e-06/0.005799, allocations: 3.938 kB / 484.3 MB, free: 2.512 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.005802, allocations: 3.938 kB / 484.3 MB, free: 2.508 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000119/0.005921, allocations: 152.3 kB / 484.4 MB, free: 2.344 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.014e-06/0.005928, allocations: 3.953 kB / 484.4 MB, free: 2.34 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.118e-05/0.005939, allocations: 0.8125 kB / 484.4 MB, free: 2.34 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.771e-05/0.005997, allocations: 13.17 kB / 484.4 MB, free: 2.328 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.52e-05/0.006022, allocations: 7.922 kB / 484.4 MB, free: 2.32 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.28e-06/0.006027, allocations: 4 kB / 484.5 MB, free: 2.316 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.45e-05/0.006042, allocations: 9.766 kB / 484.5 MB, free: 2.305 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006042, allocations: 0 / 484.5 MB, free: 2.305 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001257/0.006168, allocations: 19.94 kB / 484.5 MB, free: 2.285 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 7.942e-05/0.006247, allocations: 78.31 kB / 484.6 MB, free: 2.203 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 7.672e-05/0.006324, allocations: 28.78 kB / 484.6 MB, free: 2.172 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.006326, allocations: 0 / 484.6 MB, free: 2.172 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 2.791e-05/0.006354, allocations: 17.61 kB / 484.6 MB, free: 2.152 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001246/0.006478, allocations: 10.45 kB / 484.6 MB, free: 2.145 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003084/0.006787, allocations: 167.1 kB / 484.8 MB, free: 1.961 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.026e-05/0.006817, allocations: 60.23 kB / 484.8 MB, free: 1.883 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 3.784e-05/0.006855, allocations: 10.73 kB / 484.8 MB, free: 1.875 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.928e-05/0.006914, allocations: 52.47 kB / 484.9 MB, free: 1.824 MB / 442.7 MB Notification: Performance of SimCode: time 6.41e-07/0.006915, allocations: 0 / 484.9 MB, free: 1.824 MB / 442.7 MB Notification: Performance of Templates: time 0.002241/0.009156, allocations: 0.9509 MB / 485.8 MB, free: 0.9258 MB / 442.7 MB " [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.463677882682532]