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.0007609/0.0007609, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0007783/0.0007783, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.8509/0.8509, allocations: 177.1 MB / 203.5 MB, free: 5.742 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-531:686: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-531:694: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.6825/0.6825, allocations: 154.6 MB / 414.5 MB, free: 0.7734 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.583e-06/1.583e-06, allocations: 0 / 0.6193 GB, free: 13.17 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.826e-05/1.984e-05, allocations: 2.281 kB / 0.6193 GB, free: 13.16 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothLimit): time 0.001778/0.001798, allocations: 1.481 MB / 0.6208 GB, free: 11.68 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0007135/0.002512, allocations: 0.5766 MB / 0.6213 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.874e-05/0.00256, allocations: 7.938 kB / 0.6214 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.498e-05/0.002585, allocations: 3.938 kB / 0.6214 GB, free: 11.08 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 4.037e-05/0.002626, allocations: 3.938 kB / 0.6214 GB, free: 11.08 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002687/0.002895, allocations: 63.73 kB / 0.6214 GB, free: 11.02 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 8.557e-05/0.00298, allocations: 27.88 kB / 0.6215 GB, free: 10.99 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 8.639e-05/0.003066, allocations: 15.97 kB / 0.6215 GB, free: 10.97 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001024/0.003169, allocations: 23.86 kB / 0.6215 GB, free: 10.95 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 3.875e-05/0.003208, allocations: 15.98 kB / 0.6215 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.299e-05/0.003221, allocations: 3.938 kB / 0.6215 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 8.886e-05/0.00331, allocations: 47.95 kB / 0.6216 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.358e-05/0.003323, allocations: 15.92 kB / 0.6216 GB, free: 10.87 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.54e-05/0.003338, allocations: 0 / 0.6216 GB, free: 10.87 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001393/0.003478, allocations: 83.77 kB / 0.6216 GB, free: 10.79 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.00348, allocations: 3.938 kB / 0.6217 GB, free: 10.78 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.132e-06/0.003481, allocations: 0 / 0.6217 GB, free: 10.78 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.436e-06/0.003485, allocations: 4 kB / 0.6217 GB, free: 10.78 MB / 0.5886 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.0003115/0.003796, allocations: 278.1 kB / 0.6219 GB, free: 10.48 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.282e-05/0.003829, allocations: 8.031 kB / 0.6219 GB, free: 10.47 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.872e-05/0.003928, allocations: 16.88 kB / 0.6219 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001298/0.004057, allocations: 113.8 kB / 0.6221 GB, free: 10.32 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.666e-06/0.004066, allocations: 4.375 kB / 0.6221 GB, free: 10.31 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.724e-06/0.004074, allocations: 384 / 0.6221 GB, free: 10.31 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.779e-05/0.004172, allocations: 50.23 kB / 0.6221 GB, free: 10.26 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.152e-06/0.004178, allocations: 192 / 0.6221 GB, free: 10.26 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.675e-06/0.004185, allocations: 4.375 kB / 0.6221 GB, free: 10.25 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.461e-06/0.004191, allocations: 7.938 kB / 0.6221 GB, free: 10.25 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.956e-05/0.00424, allocations: 15.98 kB / 0.6221 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002221/0.004463, allocations: 200.6 kB / 0.6223 GB, free: 10 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 5.745e-05/0.00452, allocations: 26.58 kB / 0.6223 GB, free: 9.969 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.64e-05/0.004546, allocations: 16.91 kB / 0.6224 GB, free: 9.949 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003055/0.004852, allocations: 99.88 kB / 0.6225 GB, free: 9.852 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.975e-05/0.004872, allocations: 38.48 kB / 0.6225 GB, free: 9.805 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.004873, allocations: 0 / 0.6225 GB, free: 9.805 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.0001629/0.005036, allocations: 61.62 kB / 0.6226 GB, free: 9.738 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.727e-05/0.005063, allocations: 55.41 kB / 0.6226 GB, free: 9.672 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.948e-05/0.005122, allocations: 105.8 kB / 0.6227 GB, free: 9.559 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.062e-05/0.005133, allocations: 34.19 kB / 0.6227 GB, free: 9.52 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.388e-05/0.005167, allocations: 92.08 kB / 0.6228 GB, free: 9.426 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.544e-05/0.005182, allocations: 3.953 kB / 0.6228 GB, free: 9.422 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.426e-05/0.005207, allocations: 17.72 kB / 0.6229 GB, free: 9.398 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.116e-05/0.005278, allocations: 318.8 kB / 0.6232 GB, free: 9.078 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.028e-05/0.005308, allocations: 12 kB / 0.6232 GB, free: 9.066 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.752e-05/0.005325, allocations: 7.984 kB / 0.6232 GB, free: 9.059 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.493e-05/0.00537, allocations: 28.78 kB / 0.6232 GB, free: 9.027 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.005372, allocations: 8 kB / 0.6232 GB, free: 9.02 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.787e-05/0.00544, allocations: 61.64 kB / 0.6233 GB, free: 8.953 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.169e-05/0.005452, allocations: 7.938 kB / 0.6233 GB, free: 8.945 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.005456, allocations: 0 / 0.6233 GB, free: 8.945 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.006e-05/0.005466, allocations: 0 / 0.6233 GB, free: 8.945 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.645e-05/0.005512, allocations: 8 kB / 0.6233 GB, free: 8.938 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.648e-06/0.005517, allocations: 3.984 kB / 0.6233 GB, free: 8.934 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.571e-05/0.005533, allocations: 4 kB / 0.6233 GB, free: 8.93 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.817e-06/0.005537, allocations: 0 / 0.6233 GB, free: 8.93 MB / 0.5886 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 4.969e-05/0.005586, allocations: 114.9 kB / 0.6234 GB, free: 8.809 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.22e-05/0.005599, allocations: 3.938 kB / 0.6234 GB, free: 8.805 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001027/0.005701, allocations: 73.14 kB / 0.6235 GB, free: 8.727 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.005704, allocations: 4 kB / 0.6235 GB, free: 8.723 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.005708, allocations: 3.984 kB / 0.6235 GB, free: 8.719 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.994e-06/0.00571, allocations: 0 / 0.6235 GB, free: 8.719 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.264e-05/0.005793, allocations: 105.3 kB / 0.6236 GB, free: 8.586 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.51e-07/0.005793, allocations: 0 / 0.6236 GB, free: 8.586 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.81e-05/0.005811, allocations: 11.98 kB / 0.6236 GB, free: 8.574 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.12e-07/0.005812, allocations: 0 / 0.6236 GB, free: 8.574 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.011e-06/0.005818, allocations: 7.969 kB / 0.6236 GB, free: 8.566 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.81e-07/0.005819, allocations: 0 / 0.6236 GB, free: 8.566 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.00582, allocations: 0 / 0.6236 GB, free: 8.566 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.577e-05/0.005906, allocations: 147.5 kB / 0.6237 GB, free: 8.406 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.189e-06/0.005911, allocations: 3.953 kB / 0.6237 GB, free: 8.402 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.999e-06/0.005921, allocations: 7.922 kB / 0.6238 GB, free: 8.395 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.896e-05/0.00595, allocations: 7.938 kB / 0.6238 GB, free: 8.387 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.2e-05/0.005972, allocations: 0 / 0.6238 GB, free: 8.387 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.894e-06/0.005974, allocations: 0 / 0.6238 GB, free: 8.387 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.036e-05/0.006004, allocations: 95.3 kB / 0.6239 GB, free: 8.293 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.006004, allocations: 288 / 0.6239 GB, free: 8.293 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001511/0.006155, allocations: 15.94 kB / 0.6239 GB, free: 8.277 MB / 0.5886 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.0001211/0.006276, allocations: 119.1 kB / 0.624 GB, free: 8.148 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 8.478e-05/0.006361, allocations: 27.92 kB / 0.624 GB, free: 8.121 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.142e-06/0.006362, allocations: 0 / 0.624 GB, free: 8.121 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 2.244e-05/0.006385, allocations: 15.98 kB / 0.624 GB, free: 8.105 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001422/0.006527, allocations: 8.453 kB / 0.624 GB, free: 8.102 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002302/0.006757, allocations: 150.6 kB / 0.6242 GB, free: 7.922 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.954e-05/0.006797, allocations: 63.34 kB / 0.6242 GB, free: 7.84 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.965e-05/0.006816, allocations: 12.5 kB / 0.6242 GB, free: 7.828 MB / 0.5886 GB Notification: Performance of SimCode: time 3.8e-07/0.006817, allocations: 0 / 0.6242 GB, free: 7.828 MB / 0.5886 GB Notification: Performance of Templates: time 0.001822/0.008639, allocations: 0.8551 MB / 0.6251 GB, free: 6.973 MB / 0.5886 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=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.786676866002381] Failed to read output from testmodel.py, exit status != 0: 0.013245945796370506 0.020625395 0.015366669000000001 Calling exit ...