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.001251/0.001251, allocations: 73.97 kB / 20.66 MB, free: 3.844 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.001212/0.001212, allocations: 173.4 kB / 24.06 MB, free: 452 kB / 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.158/1.158, allocations: 177.1 MB / 204.5 MB, free: 5.52 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.7824/0.7824, allocations: 154.6 MB / 415.6 MB, free: 0.5195 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.684e-06/1.684e-06, allocations: 0 / 0.5215 GB, free: 1.887 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.993e-05/3.161e-05, allocations: 2.312 kB / 0.5215 GB, free: 1.883 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothBlocks): time 0.002898/0.00293, allocations: 1.808 MB / 0.5233 GB, free: 84 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001327/0.004257, allocations: 0.714 MB / 0.524 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001039/0.004361, allocations: 4 kB / 0.524 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 4.424e-05/0.004405, allocations: 9.438 kB / 0.524 GB, free: 15.35 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 8.924e-05/0.004494, allocations: 15.8 kB / 0.524 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006506/0.005145, allocations: 179 kB / 0.5242 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.000221/0.005366, allocations: 135.6 kB / 0.5243 GB, free: 15.03 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001589/0.005525, allocations: 33.56 kB / 0.5244 GB, free: 15 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001975/0.005722, allocations: 79.86 kB / 0.5244 GB, free: 14.92 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 7.791e-05/0.0058, allocations: 36.69 kB / 0.5245 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.725e-05/0.005827, allocations: 12 kB / 0.5245 GB, free: 14.87 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001294/0.005957, allocations: 55.05 kB / 0.5245 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 3.655e-05/0.005993, allocations: 31.84 kB / 0.5246 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 4.611e-05/0.006039, allocations: 39.89 kB / 0.5246 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002124/0.006252, allocations: 139.5 kB / 0.5247 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.006256, allocations: 0 / 0.5247 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of FrontEnd: time 7.01e-07/0.006256, allocations: 3.938 kB / 0.5247 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.172e-06/0.006262, allocations: 3.938 kB / 0.5247 GB, free: 14.61 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.0004955/0.006758, allocations: 464.5 kB / 0.5252 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.336e-05/0.006801, allocations: 8.031 kB / 0.5252 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004878/0.007289, allocations: 112.1 kB / 0.5253 GB, free: 14 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001918/0.007481, allocations: 166.2 kB / 0.5255 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.713e-05/0.007558, allocations: 115.4 kB / 0.5256 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.909e-05/0.007577, allocations: 5.312 kB / 0.5256 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002546/0.007832, allocations: 192.9 kB / 0.5258 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.00784, allocations: 0 / 0.5258 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.553e-05/0.007855, allocations: 4 kB / 0.5258 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.007861, allocations: 5.188 kB / 0.5258 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.447e-05/0.007926, allocations: 43.95 kB / 0.5258 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005392/0.008465, allocations: 395.4 kB / 0.5262 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002785/0.008743, allocations: 144.3 kB / 0.5263 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.911e-05/0.008782, allocations: 30.58 kB / 0.5264 GB, free: 12.83 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.67e-05/0.008799, allocations: 4 kB / 0.5264 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.443e-05/0.008824, allocations: 33.39 kB / 0.5264 GB, free: 12.78 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=6): time 1.032e-06/0.008825, allocations: 0 / 0.5264 GB, free: 12.78 MB / 0.4948 GB Notification: Performance of matching and sorting (n=6): time 0.0002086/0.009033, allocations: 109.7 kB / 0.5265 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.4e-05/0.009057, allocations: 51.41 kB / 0.5265 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.921e-05/0.009146, allocations: 209.5 kB / 0.5267 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.59e-05/0.009162, allocations: 25.7 kB / 0.5268 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.457e-05/0.009217, allocations: 159 kB / 0.5269 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.087e-05/0.009238, allocations: 15.8 kB / 0.5269 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.289e-05/0.009281, allocations: 31.36 kB / 0.527 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000104/0.009385, allocations: 0.5 MB / 0.5275 GB, free: 11.63 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.277e-05/0.009417, allocations: 19.98 kB / 0.5275 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.585e-05/0.009463, allocations: 47.73 kB / 0.5275 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.879e-05/0.009542, allocations: 72.14 kB / 0.5276 GB, free: 11.47 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.009544, allocations: 0 / 0.5276 GB, free: 11.47 MB / 0.4948 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000124/0.009668, allocations: 94.28 kB / 0.5277 GB, free: 11.37 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.222e-05/0.00968, allocations: 9.656 kB / 0.5277 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.009685, allocations: 3.984 kB / 0.5277 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.576e-06/0.009694, allocations: 0 / 0.5277 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001062/0.0098, allocations: 35.84 kB / 0.5277 GB, free: 11.32 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.367e-06/0.009804, allocations: 2.438 kB / 0.5277 GB, free: 11.32 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.393e-05/0.009868, allocations: 20.25 kB / 0.5277 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.043e-05/0.009878, allocations: 4 kB / 0.5278 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.996e-05/0.009968, allocations: 164.5 kB / 0.5279 GB, free: 11.13 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.256e-05/0.01, allocations: 7.953 kB / 0.5279 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001483/0.01015, allocations: 105 kB / 0.528 GB, free: 11.02 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.01015, allocations: 0 / 0.528 GB, free: 11.02 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.367e-06/0.01015, allocations: 7.875 kB / 0.528 GB, free: 11.01 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.01016, allocations: 0 / 0.528 GB, free: 11.01 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001323/0.01029, allocations: 131.2 kB / 0.5281 GB, free: 10.85 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.01029, allocations: 0 / 0.5281 GB, free: 10.85 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.652e-05/0.01038, allocations: 25 kB / 0.5282 GB, free: 10.83 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.01038, allocations: 0 / 0.5282 GB, free: 10.83 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.989e-06/0.01039, allocations: 7.984 kB / 0.5282 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.01039, allocations: 5.5 kB / 0.5282 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.01039, allocations: 160 / 0.5282 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001581/0.01055, allocations: 231.8 kB / 0.5284 GB, free: 10.57 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.092e-05/0.01056, allocations: 13.25 kB / 0.5284 GB, free: 10.56 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.555e-05/0.01058, allocations: 4 kB / 0.5284 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.824e-05/0.01068, allocations: 19.97 kB / 0.5284 GB, free: 10.54 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.767e-05/0.0107, allocations: 8.562 kB / 0.5284 GB, free: 10.53 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.324e-05/0.01072, allocations: 8.828 kB / 0.5285 GB, free: 10.52 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 6.412e-05/0.01078, allocations: 154.3 kB / 0.5286 GB, free: 10.37 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.01078, allocations: 0 / 0.5286 GB, free: 10.37 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001719/0.01095, allocations: 28.41 kB / 0.5286 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.0001187/0.01107, allocations: 96.19 kB / 0.5287 GB, free: 10.24 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.000138/0.01121, allocations: 69.05 kB / 0.5288 GB, free: 10.17 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.322e-06/0.01121, allocations: 0 / 0.5288 GB, free: 10.17 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 4.448e-05/0.01126, allocations: 39.66 kB / 0.5288 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.0002131/0.01147, allocations: 17.67 kB / 0.5288 GB, free: 10.11 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004267/0.0119, allocations: 227.8 kB / 0.5291 GB, free: 9.859 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.666e-05/0.01193, allocations: 63.34 kB / 0.5291 GB, free: 9.777 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 6.175e-05/0.01199, allocations: 24.53 kB / 0.5291 GB, free: 9.758 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001414/0.01214, allocations: 110.1 kB / 0.5292 GB, free: 9.648 MB / 0.4948 GB Notification: Performance of SimCode: time 8.52e-07/0.01214, allocations: 0 / 0.5292 GB, free: 9.648 MB / 0.4948 GB Notification: Performance of Templates: time 0.003154/0.01529, allocations: 1.722 MB / 0.5309 GB, free: 8.004 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.897501370869577]