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.001526/0.001526, allocations: 84.73 kB / 19.44 MB, free: 352 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.001561/0.001561, allocations: 157.7 kB / 22.75 MB, free: 1.68 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.535/1.535, allocations: 177.1 MB / 203.1 MB, free: 5.254 MB / 186.7 MB " [Timeout remaining time 178] 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 1.267/1.267, allocations: 154.6 MB / 414.2 MB, free: 0.5781 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 178] 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 5.08e-06/5.08e-06, allocations: 4 kB / 0.5196 GB, free: 2.539 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.057e-05/4.565e-05, allocations: 2.312 kB / 0.5196 GB, free: 2.535 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothBlocks): time 0.004899/0.004944, allocations: 1.761 MB / 0.5214 GB, free: 0.7812 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002438/0.007382, allocations: 0.6973 MB / 0.522 GB, free: 80 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001291/0.007512, allocations: 0.5625 kB / 0.522 GB, free: 80 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 7.1e-05/0.007583, allocations: 8.438 kB / 0.522 GB, free: 72 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001418/0.007724, allocations: 20.67 kB / 0.5221 GB, free: 52 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001024/0.008749, allocations: 186.9 kB / 0.5222 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0003719/0.00912, allocations: 127.6 kB / 0.5224 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002086/0.009329, allocations: 33.61 kB / 0.5224 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003464/0.009676, allocations: 85.36 kB / 0.5225 GB, free: 15.63 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001465/0.009822, allocations: 39.88 kB / 0.5225 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 6.631e-05/0.009888, allocations: 12 kB / 0.5225 GB, free: 15.58 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002026/0.01009, allocations: 47.95 kB / 0.5226 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 5.526e-05/0.01015, allocations: 24.73 kB / 0.5226 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001015/0.01025, allocations: 43.83 kB / 0.5226 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0004662/0.01071, allocations: 176.7 kB / 0.5228 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.01072, allocations: 0 / 0.5228 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of FrontEnd: time 9.41e-07/0.01072, allocations: 3.938 kB / 0.5228 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.805e-06/0.01073, allocations: 1.344 kB / 0.5228 GB, free: 15.29 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.001033/0.01176, allocations: 369.6 kB / 0.5232 GB, free: 14.9 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 6.963e-05/0.01183, allocations: 8.031 kB / 0.5232 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001797/0.01363, allocations: 137.3 kB / 0.5233 GB, free: 14.76 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005957/0.01422, allocations: 159.6 kB / 0.5235 GB, free: 14.58 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002425/0.01446, allocations: 119.4 kB / 0.5236 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.284e-05/0.01452, allocations: 8.375 kB / 0.5236 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001014/0.01553, allocations: 228.6 kB / 0.5238 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.531e-05/0.01555, allocations: 4 kB / 0.5238 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.192e-05/0.01558, allocations: 0.9375 kB / 0.5238 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.086e-05/0.01559, allocations: 4 kB / 0.5238 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001094/0.01668, allocations: 158 kB / 0.524 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001799/0.01848, allocations: 396.3 kB / 0.5243 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001707/0.02019, allocations: 210 kB / 0.5245 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004749/0.02066, allocations: 83.94 kB / 0.5246 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.736e-05/0.02069, allocations: 0 / 0.5246 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.81e-05/0.02074, allocations: 34.56 kB / 0.5246 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=6): time 1.092e-06/0.02074, allocations: 0 / 0.5246 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of matching and sorting (n=6): time 0.001663/0.0224, allocations: 265.8 kB / 0.5249 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.69e-05/0.02246, allocations: 55.34 kB / 0.525 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002231/0.02268, allocations: 144.7 kB / 0.5251 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.363e-05/0.02273, allocations: 25.7 kB / 0.5251 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001209/0.02285, allocations: 120.2 kB / 0.5252 GB, free: 12.65 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.935e-05/0.0229, allocations: 23.8 kB / 0.5253 GB, free: 12.63 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.292e-05/0.02299, allocations: 28.45 kB / 0.5253 GB, free: 12.6 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002166/0.02321, allocations: 318.8 kB / 0.5256 GB, free: 12.28 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004643/0.02367, allocations: 71.92 kB / 0.5256 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004689/0.02414, allocations: 91.62 kB / 0.5257 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009338/0.02507, allocations: 165.2 kB / 0.5259 GB, free: 11.94 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.02508, allocations: 3.938 kB / 0.5259 GB, free: 11.94 MB / 0.4948 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.001161/0.02624, allocations: 208.7 kB / 0.5261 GB, free: 11.73 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.097e-05/0.02626, allocations: 4 kB / 0.5261 GB, free: 11.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.588e-05/0.02627, allocations: 4.719 kB / 0.5261 GB, free: 11.72 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.564e-05/0.0263, allocations: 3.938 kB / 0.5261 GB, free: 11.72 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00041/0.02671, allocations: 40.48 kB / 0.5261 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/0.02672, allocations: 1.188 kB / 0.5261 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002842/0.027, allocations: 21.19 kB / 0.5262 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.932e-05/0.02703, allocations: 11.98 kB / 0.5262 GB, free: 11.65 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 0.0001695/0.0272, allocations: 113.8 kB / 0.5263 GB, free: 11.53 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.983e-05/0.02728, allocations: 12.84 kB / 0.5263 GB, free: 11.52 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00101/0.02829, allocations: 207.2 kB / 0.5265 GB, free: 11.31 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.625e-06/0.0283, allocations: 7.938 kB / 0.5265 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.335e-06/0.02831, allocations: 4 kB / 0.5265 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.02831, allocations: 0 / 0.5265 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003563/0.02867, allocations: 162.2 kB / 0.5267 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.02867, allocations: 0 / 0.5267 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003423/0.02901, allocations: 35.11 kB / 0.5267 GB, free: 11.08 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.027e-06/0.02902, allocations: 0 / 0.5267 GB, free: 11.08 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.172e-05/0.02904, allocations: 3.984 kB / 0.5267 GB, free: 11.07 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.02904, allocations: 0 / 0.5267 GB, free: 11.07 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/0.02904, allocations: 3.938 kB / 0.5267 GB, free: 11.07 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001187/0.03023, allocations: 290.6 kB / 0.527 GB, free: 10.77 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.163e-05/0.03026, allocations: 7.906 kB / 0.527 GB, free: 10.77 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.535e-05/0.03031, allocations: 4 kB / 0.527 GB, free: 10.76 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004845/0.03079, allocations: 27.95 kB / 0.527 GB, free: 10.73 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.369e-05/0.03087, allocations: 15.61 kB / 0.527 GB, free: 10.72 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.682e-05/0.0309, allocations: 11.98 kB / 0.527 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.000153/0.03106, allocations: 110.1 kB / 0.5272 GB, free: 10.61 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.3e-07/0.03106, allocations: 0 / 0.5272 GB, free: 10.61 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.000424/0.03148, allocations: 20 kB / 0.5272 GB, free: 10.59 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.0002005/0.03168, allocations: 91.25 kB / 0.5273 GB, free: 10.49 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001056/0.03274, allocations: 165.6 kB / 0.5274 GB, free: 10.33 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.03274, allocations: 1.344 kB / 0.5274 GB, free: 10.33 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005087/0.03325, allocations: 84.53 kB / 0.5275 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.0005073/0.03376, allocations: 20.61 kB / 0.5275 GB, free: 10.23 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001063/0.03482, allocations: 265.6 kB / 0.5278 GB, free: 9.938 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001304/0.03495, allocations: 88.12 kB / 0.5279 GB, free: 9.836 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001415/0.03509, allocations: 14.28 kB / 0.5279 GB, free: 9.824 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001036/0.0352, allocations: 17.23 kB / 0.5279 GB, free: 9.809 MB / 0.4948 GB Notification: Performance of SimCode: time 6.21e-07/0.0352, allocations: 0 / 0.5279 GB, free: 9.809 MB / 0.4948 GB Notification: Performance of Templates: time 0.007236/0.04243, allocations: 1.551 MB / 0.5294 GB, free: 8.336 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=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.9309768750099465]