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.00137/0.00137, allocations: 93.06 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.00135/0.00135, allocations: 165 kB / 23.01 MB, free: 1.551 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.025/1.025, allocations: 177.1 MB / 203.4 MB, free: 5.648 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.8506/0.8506, allocations: 154.6 MB / 414.5 MB, free: 0.6328 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.933e-06/1.933e-06, allocations: 0 / 0.5203 GB, free: 2.203 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.641e-05/2.834e-05, allocations: 2.312 kB / 0.5203 GB, free: 2.199 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothBlocks): time 0.002564/0.002592, allocations: 1.818 MB / 0.5221 GB, free: 400 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.00122/0.003812, allocations: 0.7216 MB / 0.5228 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.362e-05/0.003896, allocations: 1.062 kB / 0.5228 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 3.961e-05/0.003936, allocations: 11.86 kB / 0.5228 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 6.691e-05/0.004003, allocations: 24.55 kB / 0.5228 GB, free: 15.63 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.000539/0.004542, allocations: 170 kB / 0.523 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001809/0.004722, allocations: 136.8 kB / 0.5231 GB, free: 15.33 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001629/0.004885, allocations: 37.55 kB / 0.5232 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002034/0.005089, allocations: 87.8 kB / 0.5233 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 8.189e-05/0.005171, allocations: 36.56 kB / 0.5233 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.499e-05/0.005196, allocations: 9.281 kB / 0.5233 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001395/0.005335, allocations: 47.97 kB / 0.5233 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 3.85e-05/0.005374, allocations: 31.89 kB / 0.5234 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 5.103e-05/0.005425, allocations: 35.91 kB / 0.5234 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002518/0.005676, allocations: 152.5 kB / 0.5236 GB, free: 14.9 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.00568, allocations: 3.938 kB / 0.5236 GB, free: 14.9 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.223e-06/0.005681, allocations: 0 / 0.5236 GB, free: 14.9 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.179e-06/0.005686, allocations: 0.5 kB / 0.5236 GB, free: 14.9 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.0005687/0.006255, allocations: 456.8 kB / 0.524 GB, free: 14.42 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.586e-05/0.006301, allocations: 12.88 kB / 0.524 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006046/0.006905, allocations: 107.2 kB / 0.5241 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002261/0.007131, allocations: 158 kB / 0.5243 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.006104/0.01324, allocations: 115.4 kB / 0.5244 GB, free: 13.99 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.327e-05/0.01327, allocations: 9.094 kB / 0.5244 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003523/0.01362, allocations: 208.9 kB / 0.5246 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/0.01363, allocations: 0.5312 kB / 0.5246 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.921e-05/0.01365, allocations: 0 / 0.5246 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.087e-06/0.01366, allocations: 1.5 kB / 0.5246 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001151/0.01377, allocations: 55.97 kB / 0.5246 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007081/0.01448, allocations: 434.1 kB / 0.525 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003847/0.01487, allocations: 143.5 kB / 0.5252 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.138e-05/0.01493, allocations: 39.8 kB / 0.5252 GB, free: 13.06 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.546e-05/0.01495, allocations: 4 kB / 0.5252 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.803e-05/0.01498, allocations: 37.39 kB / 0.5253 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=6): time 1.523e-06/0.01498, allocations: 3.938 kB / 0.5253 GB, free: 13 MB / 0.4948 GB Notification: Performance of matching and sorting (n=6): time 0.0003142/0.0153, allocations: 117.6 kB / 0.5254 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.322e-05/0.01533, allocations: 55.34 kB / 0.5254 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001227/0.01545, allocations: 199 kB / 0.5256 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.35e-05/0.01548, allocations: 36.14 kB / 0.5257 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 7.594e-05/0.01555, allocations: 155 kB / 0.5258 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.471e-05/0.01558, allocations: 19.8 kB / 0.5258 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.631e-05/0.01563, allocations: 27.36 kB / 0.5258 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001265/0.01576, allocations: 0.4923 MB / 0.5263 GB, free: 11.85 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.139e-05/0.01582, allocations: 23.98 kB / 0.5264 GB, free: 11.83 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.712e-05/0.0159, allocations: 60.33 kB / 0.5264 GB, free: 11.76 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001162/0.01601, allocations: 71.88 kB / 0.5265 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.01602, allocations: 0 / 0.5265 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.006218/0.02224, allocations: 114.7 kB / 0.5266 GB, free: 11.56 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.106e-05/0.02226, allocations: 8 kB / 0.5266 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.02226, allocations: 2.906 kB / 0.5266 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.21e-05/0.02228, allocations: 3.938 kB / 0.5266 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001637/0.02245, allocations: 31.91 kB / 0.5266 GB, free: 11.52 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/0.02245, allocations: 0 / 0.5266 GB, free: 11.52 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.109e-05/0.02254, allocations: 15.94 kB / 0.5266 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.272e-05/0.02255, allocations: 4 kB / 0.5267 GB, free: 11.5 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.875e-05/0.02265, allocations: 171.5 kB / 0.5268 GB, free: 11.32 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.081e-05/0.02269, allocations: 7.953 kB / 0.5268 GB, free: 11.31 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002264/0.02291, allocations: 110.4 kB / 0.5269 GB, free: 11.2 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.02292, allocations: 3.938 kB / 0.5269 GB, free: 11.2 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.808e-06/0.02292, allocations: 0 / 0.5269 GB, free: 11.2 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.02293, allocations: 5.406 kB / 0.5269 GB, free: 11.19 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001951/0.02312, allocations: 161.9 kB / 0.5271 GB, free: 11 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.02312, allocations: 0 / 0.5271 GB, free: 11 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001115/0.02324, allocations: 29.25 kB / 0.5271 GB, free: 10.97 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.125e-06/0.02324, allocations: 0 / 0.5271 GB, free: 10.97 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.368e-05/0.02325, allocations: 7.984 kB / 0.5271 GB, free: 10.96 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.02326, allocations: 4 kB / 0.5271 GB, free: 10.96 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.796e-06/0.02326, allocations: 4.75 kB / 0.5271 GB, free: 10.95 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002191/0.02348, allocations: 239.9 kB / 0.5274 GB, free: 10.7 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.411e-05/0.02349, allocations: 9.406 kB / 0.5274 GB, free: 10.69 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.929e-05/0.02351, allocations: 4 kB / 0.5274 GB, free: 10.69 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001398/0.02365, allocations: 24.92 kB / 0.5274 GB, free: 10.66 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.946e-05/0.02369, allocations: 11.88 kB / 0.5274 GB, free: 10.65 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.667e-05/0.02371, allocations: 7.984 kB / 0.5274 GB, free: 10.64 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 6.816e-05/0.02378, allocations: 150.8 kB / 0.5276 GB, free: 10.5 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.02378, allocations: 0 / 0.5276 GB, free: 10.5 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.003269/0.02704, allocations: 28.53 kB / 0.5276 GB, free: 10.47 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.0001225/0.02717, allocations: 92.47 kB / 0.5277 GB, free: 10.38 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002001/0.02737, allocations: 77.28 kB / 0.5278 GB, free: 10.3 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.02737, allocations: 0 / 0.5278 GB, free: 10.3 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 6.583e-05/0.02743, allocations: 43.66 kB / 0.5278 GB, free: 10.25 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002897/0.02772, allocations: 25.75 kB / 0.5278 GB, free: 10.23 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003649/0.03137, allocations: 226.6 kB / 0.528 GB, free: 9.973 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.609e-05/0.03142, allocations: 69.72 kB / 0.5281 GB, free: 9.887 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 7.332e-05/0.03149, allocations: 17.98 kB / 0.5281 GB, free: 9.871 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.666e-05/0.03155, allocations: 12.5 kB / 0.5281 GB, free: 9.859 MB / 0.4948 GB Notification: Performance of SimCode: time 9.42e-07/0.03155, allocations: 1.281 kB / 0.5281 GB, free: 9.859 MB / 0.4948 GB Notification: Performance of Templates: time 0.009685/0.04124, allocations: 1.555 MB / 0.5296 GB, free: 8.391 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: 4.139947475865483]