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.0009674/0.0009674, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.001372/0.001372, allocations: 173 kB / 23.03 MB, free: 1.543 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.012/1.012, allocations: 177.1 MB / 203.4 MB, free: 5.621 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.8037/0.8037, allocations: 154.6 MB / 414.5 MB, free: 0.668 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 2.124e-06/2.124e-06, allocations: 0 / 0.5203 GB, free: 2.145 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.837e-05/2.05e-05, allocations: 2.312 kB / 0.5203 GB, free: 2.141 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothBlocks): time 0.002214/0.002235, allocations: 1.81 MB / 0.5221 GB, free: 348 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001066/0.003301, allocations: 0.7267 MB / 0.5228 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.645e-05/0.003377, allocations: 0 / 0.5228 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 4.062e-05/0.003418, allocations: 7.875 kB / 0.5228 GB, free: 15.6 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 7.476e-05/0.003493, allocations: 26.02 kB / 0.5228 GB, free: 15.58 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005597/0.004052, allocations: 177.1 kB / 0.523 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001774/0.00423, allocations: 124.5 kB / 0.5231 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001403/0.00437, allocations: 41.53 kB / 0.5232 GB, free: 15.24 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000172/0.004542, allocations: 84.48 kB / 0.5233 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 6.816e-05/0.00461, allocations: 35.83 kB / 0.5233 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.838e-05/0.004639, allocations: 8.688 kB / 0.5233 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 9.992e-05/0.004738, allocations: 55.94 kB / 0.5233 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.41e-05/0.004763, allocations: 25.17 kB / 0.5234 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 4.122e-05/0.004804, allocations: 43.89 kB / 0.5234 GB, free: 15 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002055/0.005009, allocations: 147.4 kB / 0.5236 GB, free: 14.85 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.445e-06/0.005012, allocations: 1.812 kB / 0.5236 GB, free: 14.85 MB / 0.4948 GB Notification: Performance of FrontEnd: time 6.81e-07/0.005012, allocations: 3.938 kB / 0.5236 GB, free: 14.85 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.005017, allocations: 0 / 0.5236 GB, free: 14.85 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.0005585/0.005576, allocations: 460 kB / 0.524 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.47e-05/0.00563, allocations: 9.781 kB / 0.524 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000484/0.006114, allocations: 105.5 kB / 0.5241 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002411/0.006356, allocations: 163.2 kB / 0.5243 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.319e-05/0.006439, allocations: 115.4 kB / 0.5244 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.018e-05/0.006459, allocations: 8.375 kB / 0.5244 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002884/0.006747, allocations: 201.5 kB / 0.5246 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.128e-06/0.006756, allocations: 5.75 kB / 0.5246 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.83e-05/0.006775, allocations: 4 kB / 0.5246 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.275e-06/0.006783, allocations: 0 / 0.5246 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.559e-05/0.006869, allocations: 51.97 kB / 0.5246 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005872/0.007456, allocations: 430.9 kB / 0.525 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003095/0.007765, allocations: 145.1 kB / 0.5252 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.82e-05/0.007823, allocations: 39.8 kB / 0.5252 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.199e-05/0.007845, allocations: 5.031 kB / 0.5252 GB, free: 13 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.462e-05/0.00787, allocations: 33.39 kB / 0.5253 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=6): time 1.112e-06/0.007871, allocations: 0 / 0.5253 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of matching and sorting (n=6): time 0.0002678/0.008139, allocations: 124.8 kB / 0.5254 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.562e-05/0.008175, allocations: 59.33 kB / 0.5254 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001133/0.008288, allocations: 199.9 kB / 0.5256 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.94e-05/0.008307, allocations: 25.7 kB / 0.5256 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004222/0.008729, allocations: 163 kB / 0.5258 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.467e-05/0.008754, allocations: 27.78 kB / 0.5258 GB, free: 12.33 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.355e-05/0.008798, allocations: 27.36 kB / 0.5259 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001228/0.00892, allocations: 0.4884 MB / 0.5263 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.445e-05/0.008965, allocations: 23.02 kB / 0.5264 GB, free: 11.78 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.3e-05/0.009028, allocations: 67.03 kB / 0.5264 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.546e-05/0.009123, allocations: 71 kB / 0.5265 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.009126, allocations: 0 / 0.5265 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001485/0.009274, allocations: 105.6 kB / 0.5266 GB, free: 11.51 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.009288, allocations: 9.5 kB / 0.5266 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.638e-06/0.009293, allocations: 0 / 0.5266 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/0.009309, allocations: 3.938 kB / 0.5266 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004681/0.009778, allocations: 32.41 kB / 0.5266 GB, free: 11.46 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.009786, allocations: 6.828 kB / 0.5266 GB, free: 11.46 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.273e-05/0.009848, allocations: 23.92 kB / 0.5267 GB, free: 11.44 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.193e-05/0.00986, allocations: 4 kB / 0.5267 GB, free: 11.43 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 9.581e-05/0.009956, allocations: 164.5 kB / 0.5268 GB, free: 11.26 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.906e-05/0.009985, allocations: 7.953 kB / 0.5268 GB, free: 11.25 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002074/0.01019, allocations: 112.8 kB / 0.5269 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.0102, allocations: 7.875 kB / 0.5269 GB, free: 11.13 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.0102, allocations: 0 / 0.5269 GB, free: 11.13 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.01021, allocations: 0 / 0.5269 GB, free: 11.13 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001663/0.01037, allocations: 158 kB / 0.5271 GB, free: 10.94 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.01038, allocations: 1.562 kB / 0.5271 GB, free: 10.94 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.988e-05/0.01046, allocations: 27.97 kB / 0.5271 GB, free: 10.91 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.968e-06/0.01046, allocations: 0 / 0.5271 GB, free: 10.91 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.817e-05/0.01048, allocations: 1.312 kB / 0.5271 GB, free: 10.91 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.739e-06/0.01048, allocations: 4 kB / 0.5271 GB, free: 10.91 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.01049, allocations: 3.938 kB / 0.5271 GB, free: 10.91 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002239/0.01071, allocations: 239.9 kB / 0.5274 GB, free: 10.65 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.406e-05/0.01072, allocations: 18.31 kB / 0.5274 GB, free: 10.64 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.942e-05/0.01074, allocations: 8 kB / 0.5274 GB, free: 10.63 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.062e-05/0.01083, allocations: 15.92 kB / 0.5274 GB, free: 10.61 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.551e-05/0.01088, allocations: 15.86 kB / 0.5274 GB, free: 10.6 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.22e-05/0.01089, allocations: 7.984 kB / 0.5274 GB, free: 10.59 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 6.971e-05/0.01096, allocations: 153 kB / 0.5276 GB, free: 10.45 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4e-08/0.01096, allocations: 0 / 0.5276 GB, free: 10.45 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001748/0.01114, allocations: 23.94 kB / 0.5276 GB, free: 10.42 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 9.581e-05/0.01123, allocations: 102.3 kB / 0.5277 GB, free: 10.32 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001917/0.01142, allocations: 77 kB / 0.5278 GB, free: 10.24 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.01143, allocations: 0 / 0.5278 GB, free: 10.24 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 6.135e-05/0.01149, allocations: 39.67 kB / 0.5278 GB, free: 10.2 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002241/0.01171, allocations: 17.27 kB / 0.5278 GB, free: 10.18 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006055/0.01232, allocations: 231.2 kB / 0.528 GB, free: 9.922 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.723e-05/0.01237, allocations: 63.97 kB / 0.5281 GB, free: 9.84 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 7.391e-05/0.01245, allocations: 19.41 kB / 0.5281 GB, free: 9.824 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.818e-05/0.01251, allocations: 17.42 kB / 0.5281 GB, free: 9.809 MB / 0.4948 GB Notification: Performance of SimCode: time 7.31e-07/0.01251, allocations: 0 / 0.5281 GB, free: 9.809 MB / 0.4948 GB Notification: Performance of Templates: time 0.003478/0.01598, allocations: 1.683 MB / 0.5298 GB, free: 8.207 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.7494344171136618]