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.001415/0.001415, allocations: 80.3 kB / 19.18 MB, free: 2.52 MB / 14.72 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.001584/0.001584, allocations: 161.4 kB / 22.45 MB, free: 5.375 MB / 14.72 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.467/1.467, allocations: 177.2 MB / 202.8 MB, free: 9.156 MB / 190.1 MB " [Timeout remaining time 178] 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 1.24/1.24, allocations: 154.6 MB / 413.8 MB, free: 5.211 MB / 382.1 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 178] 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.472e-06/1.472e-06, allocations: 0 / 0.6186 GB, free: 4.523 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.627e-05/2.774e-05, allocations: 8.469 kB / 0.6186 GB, free: 4.516 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothLimit): time 0.002767/0.002795, allocations: 1.469 MB / 0.62 GB, free: 3.047 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001149/0.003944, allocations: 0.5872 MB / 0.6206 GB, free: 2.457 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.724e-05/0.004002, allocations: 0 / 0.6206 GB, free: 2.457 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.134e-05/0.004023, allocations: 0 / 0.6206 GB, free: 2.457 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.863e-05/0.004072, allocations: 11.88 kB / 0.6206 GB, free: 2.445 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003131/0.004385, allocations: 60.5 kB / 0.6207 GB, free: 2.387 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.000106/0.004491, allocations: 31.84 kB / 0.6207 GB, free: 2.355 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 8.663e-05/0.004577, allocations: 13.16 kB / 0.6207 GB, free: 2.344 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001302/0.004708, allocations: 15.98 kB / 0.6207 GB, free: 2.328 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.712e-05/0.004755, allocations: 19.86 kB / 0.6208 GB, free: 2.309 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.628e-05/0.004771, allocations: 5.375 kB / 0.6208 GB, free: 2.305 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001333/0.004904, allocations: 55.88 kB / 0.6208 GB, free: 2.25 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.239e-05/0.004917, allocations: 4 kB / 0.6208 GB, free: 2.246 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.029e-05/0.004937, allocations: 8 kB / 0.6208 GB, free: 2.238 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001767/0.005114, allocations: 87.75 kB / 0.6209 GB, free: 2.152 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.005116, allocations: 0 / 0.6209 GB, free: 2.152 MB / 0.5294 GB Notification: Performance of FrontEnd: time 5.81e-07/0.005116, allocations: 0 / 0.6209 GB, free: 2.152 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.266e-06/0.00512, allocations: 0 / 0.6209 GB, free: 2.152 MB / 0.5294 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.0004246/0.005544, allocations: 278.1 kB / 0.6212 GB, free: 1.852 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.295e-05/0.005577, allocations: 8.031 kB / 0.6212 GB, free: 1.844 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001418/0.005719, allocations: 16.88 kB / 0.6212 GB, free: 1.828 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001777/0.005897, allocations: 109.8 kB / 0.6213 GB, free: 1.695 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.822e-05/0.005915, allocations: 12.36 kB / 0.6213 GB, free: 1.684 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.237e-06/0.005924, allocations: 4.375 kB / 0.6213 GB, free: 1.68 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001517/0.006076, allocations: 42.25 kB / 0.6214 GB, free: 1.633 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.006085, allocations: 192 / 0.6214 GB, free: 1.633 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.005e-05/0.006095, allocations: 384 / 0.6214 GB, free: 1.633 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.098e-05/0.006106, allocations: 11.81 kB / 0.6214 GB, free: 1.621 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001084/0.006215, allocations: 19.98 kB / 0.6214 GB, free: 1.602 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003093/0.006524, allocations: 200.6 kB / 0.6216 GB, free: 1.375 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001008/0.006625, allocations: 30.56 kB / 0.6216 GB, free: 1.336 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.049e-05/0.006675, allocations: 16.92 kB / 0.6216 GB, free: 1.316 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006528/0.007328, allocations: 91.86 kB / 0.6217 GB, free: 1.227 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.352e-05/0.007371, allocations: 42.44 kB / 0.6218 GB, free: 1.176 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.007373, allocations: 0 / 0.6218 GB, free: 1.176 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0002466/0.007619, allocations: 69.7 kB / 0.6218 GB, free: 1.102 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.922e-05/0.007658, allocations: 51.41 kB / 0.6219 GB, free: 1.039 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001058/0.007764, allocations: 109.8 kB / 0.622 GB, free: 0.9219 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.802e-05/0.007782, allocations: 25.7 kB / 0.622 GB, free: 0.8906 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.107e-05/0.007833, allocations: 88.14 kB / 0.6221 GB, free: 0.8008 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.636e-05/0.00785, allocations: 7.891 kB / 0.6221 GB, free: 0.793 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.477e-05/0.007894, allocations: 21.7 kB / 0.6221 GB, free: 0.7656 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001482/0.008043, allocations: 310.8 kB / 0.6224 GB, free: 464 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.616e-05/0.008089, allocations: 11.98 kB / 0.6224 GB, free: 452 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.855e-05/0.008127, allocations: 11.94 kB / 0.6224 GB, free: 440 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.181e-05/0.008209, allocations: 28.94 kB / 0.6225 GB, free: 408 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.00821, allocations: 0 / 0.6225 GB, free: 408 kB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001288/0.008339, allocations: 53.64 kB / 0.6225 GB, free: 348 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.008357, allocations: 11.94 kB / 0.6225 GB, free: 336 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.427e-06/0.00836, allocations: 0 / 0.6225 GB, free: 336 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.184e-05/0.008372, allocations: 0 / 0.6225 GB, free: 336 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.634e-05/0.008438, allocations: 7.984 kB / 0.6225 GB, free: 328 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.356e-06/0.008442, allocations: 0 / 0.6225 GB, free: 328 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.612e-05/0.008478, allocations: 12.03 kB / 0.6225 GB, free: 316 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.05e-06/0.008483, allocations: 0 / 0.6225 GB, free: 316 kB / 0.5294 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 8.508e-05/0.008568, allocations: 111.6 kB / 0.6226 GB, free: 196 kB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.004e-05/0.008598, allocations: 11.92 kB / 0.6227 GB, free: 184 kB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001644/0.008762, allocations: 57.31 kB / 0.6227 GB, free: 116 kB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.008766, allocations: 3.984 kB / 0.6227 GB, free: 112 kB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.008769, allocations: 0 / 0.6227 GB, free: 112 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.008772, allocations: 0 / 0.6227 GB, free: 112 kB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001558/0.008928, allocations: 113.3 kB / 0.6228 GB, free: 15.97 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.008929, allocations: 7.969 kB / 0.6228 GB, free: 15.96 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.311e-05/0.008972, allocations: 4 kB / 0.6228 GB, free: 15.96 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.008973, allocations: 0 / 0.6228 GB, free: 15.96 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.123e-05/0.008985, allocations: 7.938 kB / 0.6228 GB, free: 15.95 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.008986, allocations: 0 / 0.6228 GB, free: 15.95 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.008986, allocations: 384 / 0.6228 GB, free: 15.95 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001872/0.009174, allocations: 155.4 kB / 0.623 GB, free: 15.78 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.252e-06/0.00918, allocations: 4 kB / 0.623 GB, free: 15.78 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.568e-05/0.009195, allocations: 3.938 kB / 0.623 GB, free: 15.77 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.213e-05/0.009258, allocations: 11.97 kB / 0.623 GB, free: 15.76 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.063e-05/0.009288, allocations: 3.984 kB / 0.623 GB, free: 15.76 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.316e-06/0.009292, allocations: 0 / 0.623 GB, free: 15.76 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.372e-05/0.009345, allocations: 87.28 kB / 0.6231 GB, free: 15.67 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.009345, allocations: 0 / 0.6231 GB, free: 15.67 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002412/0.009587, allocations: 19.92 kB / 0.6231 GB, free: 15.65 MB / 0.545 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.0001714/0.009758, allocations: 110.1 kB / 0.6232 GB, free: 15.54 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001353/0.009893, allocations: 23.97 kB / 0.6232 GB, free: 15.52 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.009895, allocations: 8 kB / 0.6232 GB, free: 15.51 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 4.828e-05/0.009943, allocations: 12 kB / 0.6233 GB, free: 15.5 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002096/0.01015, allocations: 4 kB / 0.6233 GB, free: 15.49 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002866/0.01044, allocations: 124.7 kB / 0.6234 GB, free: 15.34 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.99e-05/0.01051, allocations: 67.25 kB / 0.6234 GB, free: 15.26 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.617e-05/0.01054, allocations: 11.97 kB / 0.6235 GB, free: 15.25 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.279e-05/0.01056, allocations: 8.5 kB / 0.6235 GB, free: 15.24 MB / 0.545 GB Notification: Performance of SimCode: time 5.51e-07/0.01056, allocations: 64 / 0.6235 GB, free: 15.24 MB / 0.545 GB Notification: Performance of Templates: time 0.003348/0.01391, allocations: 0.6667 MB / 0.6241 GB, free: 14.58 MB / 0.545 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: 5.761591803282499] Failed to read output from testmodel.py, exit status != 0: 0.0226755328476429 0.037453679000000004 0.029334321000000003 Calling exit ...