Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks.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.0009461/0.0009461, allocations: 81.92 kB / 19.87 MB, free: 4.621 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.001218/0.001218, allocations: 173.7 kB / 23.28 MB, free: 1.223 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.113/1.113, allocations: 177.1 MB / 203.7 MB, free: 5.512 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.7645/0.7645, allocations: 154.6 MB / 414.8 MB, free: 0.5508 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.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks") translateModel(IDEAS.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.984e-06/1.984e-06, allocations: 0.9844 kB / 0.5208 GB, free: 1.887 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.281e-05/2.48e-05, allocations: 6.031 kB / 0.5208 GB, free: 1.883 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothBlocks): time 0.002423/0.002448, allocations: 1.802 MB / 0.5225 GB, free: 92 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001129/0.003577, allocations: 0.7152 MB / 0.5232 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.694e-05/0.003664, allocations: 4 kB / 0.5232 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 4.303e-05/0.003707, allocations: 11.86 kB / 0.5232 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 7.158e-05/0.003778, allocations: 20.92 kB / 0.5233 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005046/0.004283, allocations: 182.8 kB / 0.5234 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001633/0.004446, allocations: 127.6 kB / 0.5236 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001303/0.004576, allocations: 41.55 kB / 0.5236 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001772/0.004754, allocations: 80.95 kB / 0.5237 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 7.693e-05/0.004831, allocations: 43.88 kB / 0.5237 GB, free: 14.87 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.373e-05/0.004854, allocations: 8 kB / 0.5237 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001003/0.004954, allocations: 48.66 kB / 0.5238 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.551e-05/0.00498, allocations: 29.08 kB / 0.5238 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 3.433e-05/0.005014, allocations: 39.91 kB / 0.5238 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001815/0.005196, allocations: 147.4 kB / 0.524 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.005198, allocations: 0 / 0.524 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of FrontEnd: time 7.71e-07/0.005199, allocations: 1.438 kB / 0.524 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.058e-06/0.005203, allocations: 4 kB / 0.524 GB, free: 14.6 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0004355/0.005639, allocations: 460 kB / 0.5244 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/0.00568, allocations: 8.812 kB / 0.5244 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004365/0.006116, allocations: 112.3 kB / 0.5245 GB, free: 14 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001983/0.006314, allocations: 160.9 kB / 0.5247 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.855e-05/0.006393, allocations: 111.4 kB / 0.5248 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.052e-05/0.006414, allocations: 8.375 kB / 0.5248 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002521/0.006666, allocations: 197.5 kB / 0.525 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/0.006675, allocations: 0 / 0.525 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.376e-05/0.006689, allocations: 0 / 0.525 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.006695, allocations: 4.5 kB / 0.525 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.132e-05/0.006756, allocations: 41 kB / 0.525 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005542/0.00731, allocations: 406.9 kB / 0.5254 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002671/0.007578, allocations: 135 kB / 0.5256 GB, free: 12.87 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.528e-05/0.007613, allocations: 31.8 kB / 0.5256 GB, free: 12.83 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.355e-05/0.007636, allocations: 4 kB / 0.5256 GB, free: 12.83 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.317e-05/0.00766, allocations: 37.33 kB / 0.5256 GB, free: 12.78 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=6): time 1.703e-06/0.007661, allocations: 0 / 0.5256 GB, free: 12.78 MB / 0.4948 GB Notification: Performance of matching and sorting (n=6): time 0.000217/0.007878, allocations: 105.6 kB / 0.5257 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.761e-05/0.007906, allocations: 55.41 kB / 0.5258 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.51e-05/0.008001, allocations: 202 kB / 0.526 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.796e-05/0.008019, allocations: 29.7 kB / 0.526 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.158e-05/0.008081, allocations: 159 kB / 0.5262 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.132e-05/0.008102, allocations: 23.78 kB / 0.5262 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.079e-05/0.008143, allocations: 27.36 kB / 0.5262 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001423/0.008285, allocations: 0.4962 MB / 0.5267 GB, free: 11.63 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.043e-05/0.008325, allocations: 21.02 kB / 0.5267 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.003e-05/0.008375, allocations: 50.97 kB / 0.5268 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.104e-05/0.008456, allocations: 68.31 kB / 0.5268 GB, free: 11.47 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.008458, allocations: 0.7812 kB / 0.5268 GB, free: 11.47 MB / 0.4948 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001316/0.00859, allocations: 102.5 kB / 0.5269 GB, free: 11.37 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.008603, allocations: 4 kB / 0.5269 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.008608, allocations: 0 / 0.5269 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.008621, allocations: 2.75 kB / 0.5269 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001043/0.008725, allocations: 35.84 kB / 0.527 GB, free: 11.33 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.516e-06/0.008729, allocations: 0 / 0.527 GB, free: 11.33 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.746e-05/0.008786, allocations: 23.94 kB / 0.527 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.626e-06/0.008795, allocations: 0 / 0.527 GB, free: 11.3 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (8): * Single equations (assignments): 8 * 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.044e-05/0.008875, allocations: 163.2 kB / 0.5271 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.717e-05/0.008903, allocations: 11.94 kB / 0.5271 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001594/0.009062, allocations: 106.3 kB / 0.5272 GB, free: 11.02 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.009065, allocations: 0 / 0.5272 GB, free: 11.02 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.615e-06/0.009068, allocations: 3.938 kB / 0.5273 GB, free: 11.01 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.009071, allocations: 5.75 kB / 0.5273 GB, free: 11.01 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001556/0.009226, allocations: 134.2 kB / 0.5274 GB, free: 10.85 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.009228, allocations: 0 / 0.5274 GB, free: 10.85 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.481e-05/0.009303, allocations: 23.97 kB / 0.5274 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.009306, allocations: 0.875 kB / 0.5274 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.438e-06/0.009315, allocations: 7.984 kB / 0.5274 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.009316, allocations: 0.6562 kB / 0.5274 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.009317, allocations: 128 / 0.5274 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001698/0.009487, allocations: 240.5 kB / 0.5276 GB, free: 10.56 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.578e-06/0.009497, allocations: 9.406 kB / 0.5277 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.359e-05/0.00951, allocations: 4 kB / 0.5277 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.349e-05/0.009604, allocations: 23.91 kB / 0.5277 GB, free: 10.53 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.947e-05/0.009633, allocations: 5.125 kB / 0.5277 GB, free: 10.52 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.11e-05/0.009644, allocations: 7.984 kB / 0.5277 GB, free: 10.52 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 5.135e-05/0.009696, allocations: 149.1 kB / 0.5278 GB, free: 10.37 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.009696, allocations: 0.75 kB / 0.5278 GB, free: 10.37 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001657/0.009861, allocations: 27.94 kB / 0.5279 GB, free: 10.34 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 (6): * Single equations (assignments): 6 * 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.0001193/0.009981, allocations: 92.66 kB / 0.528 GB, free: 10.25 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001188/0.0101, allocations: 73.27 kB / 0.528 GB, free: 10.17 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.0101, allocations: 0 / 0.528 GB, free: 10.17 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 4.569e-05/0.01015, allocations: 39.66 kB / 0.5281 GB, free: 10.13 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002014/0.01035, allocations: 26.19 kB / 0.5281 GB, free: 10.11 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005084/0.01086, allocations: 222.6 kB / 0.5283 GB, free: 9.855 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.289e-05/0.0109, allocations: 67.28 kB / 0.5284 GB, free: 9.77 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 6.034e-05/0.01096, allocations: 19.92 kB / 0.5284 GB, free: 9.754 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001483/0.01111, allocations: 106.1 kB / 0.5285 GB, free: 9.648 MB / 0.4948 GB Notification: Performance of SimCode: time 3.677e-06/0.01111, allocations: 0 / 0.5285 GB, free: 9.648 MB / 0.4948 GB Notification: Performance of Templates: time 0.003361/0.01447, allocations: 1.687 MB / 0.5301 GB, free: 8.051 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8130822530947626]