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.0009154/0.0009154, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.001271/0.001271, allocations: 181 kB / 23.36 MB, free: 1.133 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.9789/0.9789, allocations: 177.1 MB / 203.8 MB, free: 5.469 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.8751/0.8751, allocations: 154.6 MB / 414.9 MB, free: 492 kB / 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.112e-06/1.112e-06, allocations: 0 / 480 MB, free: 6.871 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.202e-05/2.313e-05, allocations: 7 kB / 480 MB, free: 6.867 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothBlocks): time 0.002147/0.00217, allocations: 1.813 MB / 481.8 MB, free: 5.078 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.000919/0.003089, allocations: 0.7208 MB / 482.5 MB, free: 4.363 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.401e-05/0.003153, allocations: 7.938 kB / 482.6 MB, free: 4.355 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 3.226e-05/0.003185, allocations: 13.06 kB / 482.6 MB, free: 4.344 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 6.711e-05/0.003253, allocations: 20.3 kB / 482.6 MB, free: 4.332 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004136/0.003666, allocations: 175.3 kB / 482.8 MB, free: 4.164 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.000151/0.003817, allocations: 138.7 kB / 482.9 MB, free: 4.035 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001154/0.003933, allocations: 46.19 kB / 482.9 MB, free: 3.988 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001543/0.004087, allocations: 76.45 kB / 483 MB, free: 3.914 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.6e-05/0.004153, allocations: 45.31 kB / 483.1 MB, free: 3.871 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.092e-05/0.004174, allocations: 8 kB / 483.1 MB, free: 3.863 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.69e-05/0.004261, allocations: 51.91 kB / 483.1 MB, free: 3.812 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 2.577e-05/0.004286, allocations: 27.89 kB / 483.1 MB, free: 3.785 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 3.498e-05/0.004321, allocations: 44.67 kB / 483.2 MB, free: 3.742 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001668/0.004488, allocations: 139.5 kB / 483.3 MB, free: 3.605 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.624e-06/0.004491, allocations: 1.438 kB / 483.3 MB, free: 3.605 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.004492, allocations: 4 kB / 483.3 MB, free: 3.602 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.857e-06/0.004496, allocations: 0 / 483.3 MB, free: 3.602 MB / 442.7 MB 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.000378/0.004874, allocations: 336.2 kB / 483.7 MB, free: 3.254 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.585e-05/0.00491, allocations: 12.03 kB / 483.7 MB, free: 3.242 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003875/0.005297, allocations: 98.94 kB / 483.8 MB, free: 3.148 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002019/0.005499, allocations: 157.2 kB / 483.9 MB, free: 2.973 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.2e-05/0.005581, allocations: 107.4 kB / 484 MB, free: 2.844 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.605e-05/0.005607, allocations: 12.38 kB / 484 MB, free: 2.832 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002697/0.005877, allocations: 189.9 kB / 484.2 MB, free: 2.625 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.005885, allocations: 0 / 484.2 MB, free: 2.625 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.788e-05/0.005903, allocations: 4.562 kB / 484.2 MB, free: 2.621 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/0.00591, allocations: 4.656 kB / 484.2 MB, free: 2.617 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.053e-05/0.00598, allocations: 39.02 kB / 484.3 MB, free: 2.582 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005419/0.006522, allocations: 280.7 kB / 484.5 MB, free: 2.293 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003116/0.006834, allocations: 117.3 kB / 484.7 MB, free: 2.172 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.697e-05/0.006871, allocations: 21.48 kB / 484.7 MB, free: 2.148 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.809e-05/0.006889, allocations: 4.625 kB / 484.7 MB, free: 2.145 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.415e-05/0.006913, allocations: 34.69 kB / 484.7 MB, free: 2.102 MB / 442.7 MB Notification: Performance of pre-optimization done (n=6): time 1.102e-06/0.006914, allocations: 0.625 kB / 484.7 MB, free: 2.102 MB / 442.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002003/0.007115, allocations: 90.55 kB / 484.8 MB, free: 2.008 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.875e-05/0.007143, allocations: 51.41 kB / 484.9 MB, free: 1.945 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.996e-05/0.007233, allocations: 150.6 kB / 485 MB, free: 1.785 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.808e-05/0.007251, allocations: 27.27 kB / 485 MB, free: 1.754 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.521e-05/0.007297, allocations: 108.2 kB / 485.1 MB, free: 1.645 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.224e-05/0.007319, allocations: 19.86 kB / 485.2 MB, free: 1.625 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.868e-05/0.007368, allocations: 25.69 kB / 485.2 MB, free: 1.594 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.696e-05/0.007455, allocations: 323.7 kB / 485.5 MB, free: 1.27 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.399e-05/0.007489, allocations: 15.94 kB / 485.5 MB, free: 1.254 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.729e-05/0.007536, allocations: 35.56 kB / 485.5 MB, free: 1.211 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.921e-05/0.007625, allocations: 63.09 kB / 485.6 MB, free: 1.141 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.007628, allocations: 0.5938 kB / 485.6 MB, free: 1.141 MB / 442.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001372/0.007765, allocations: 83.97 kB / 485.7 MB, free: 1.055 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.2e-05/0.007777, allocations: 4 kB / 485.7 MB, free: 1.051 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.007781, allocations: 0 / 485.7 MB, free: 1.051 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.007794, allocations: 4 kB / 485.7 MB, free: 1.047 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001198/0.007914, allocations: 25.72 kB / 485.7 MB, free: 1.023 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.007919, allocations: 7.938 kB / 485.7 MB, free: 1.016 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.957e-05/0.007989, allocations: 15.92 kB / 485.7 MB, free: 1 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.112e-05/0.008, allocations: 9.5 kB / 485.8 MB, free: 0.9922 MB / 442.7 MB 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 7.478e-05/0.008075, allocations: 113.8 kB / 485.9 MB, free: 0.8711 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.303e-05/0.008108, allocations: 4 kB / 485.9 MB, free: 0.8672 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001608/0.008268, allocations: 90.02 kB / 486 MB, free: 0.7695 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-06/0.008271, allocations: 0 / 486 MB, free: 0.7695 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.008274, allocations: 7.938 kB / 486 MB, free: 0.7617 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.008276, allocations: 0 / 486 MB, free: 0.7617 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001532/0.00843, allocations: 102.5 kB / 486.1 MB, free: 0.6445 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.008432, allocations: 1.562 kB / 486.1 MB, free: 0.6445 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.707e-05/0.008519, allocations: 23.91 kB / 486.1 MB, free: 0.6211 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.008521, allocations: 4 kB / 486.1 MB, free: 0.6172 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.063e-05/0.008532, allocations: 8.859 kB / 486.1 MB, free: 0.6094 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.008533, allocations: 0 / 486.1 MB, free: 0.6094 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.008534, allocations: 1.5 kB / 486.1 MB, free: 0.6094 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001417/0.008676, allocations: 170 kB / 486.3 MB, free: 440 kB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.189e-05/0.008688, allocations: 11.91 kB / 486.3 MB, free: 428 kB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.542e-05/0.008703, allocations: 0 / 486.3 MB, free: 428 kB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001201/0.008823, allocations: 20.72 kB / 486.3 MB, free: 408 kB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.409e-05/0.008847, allocations: 0.5 kB / 486.3 MB, free: 408 kB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.629e-05/0.008864, allocations: 12.58 kB / 486.3 MB, free: 396 kB / 442.7 MB Notification: Performance of sorting global known variables: time 3.271e-05/0.008896, allocations: 39.38 kB / 486.4 MB, free: 356 kB / 442.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008896, allocations: 1.344 kB / 486.4 MB, free: 356 kB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002119/0.009108, allocations: 23.94 kB / 486.4 MB, free: 332 kB / 442.7 MB 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.0001031/0.009211, allocations: 81.3 kB / 486.5 MB, free: 244 kB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001137/0.009325, allocations: 50.19 kB / 486.5 MB, free: 192 kB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.009328, allocations: 3.938 kB / 486.5 MB, free: 188 kB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 4.611e-05/0.009374, allocations: 32.78 kB / 486.5 MB, free: 152 kB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001952/0.009569, allocations: 16.83 kB / 486.6 MB, free: 136 kB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007371/0.01031, allocations: 229.2 kB / 486.8 MB, free: 15.89 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4e-05/0.01035, allocations: 63.34 kB / 486.8 MB, free: 15.8 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 6.984e-05/0.01042, allocations: 16.36 kB / 486.9 MB, free: 15.79 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001699/0.01059, allocations: 80.22 kB / 486.9 MB, free: 15.71 MB / 458.7 MB Notification: Performance of SimCode: time 6.41e-07/0.01059, allocations: 0 / 486.9 MB, free: 15.71 MB / 458.7 MB Notification: Performance of Templates: time 0.006713/0.0173, allocations: 1.625 MB / 488.6 MB, free: 14.18 MB / 458.7 MB " [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.597841434646398]