Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside.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.00099/0.00099, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001282/0.002271, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0009991/0.0009991, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001288/0.002287, allocations: 475.6 kB / 11.8 MB, free: 2.375 MB / 13.93 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.9624/0.9624, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09135/1.054, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.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.8101/0.8101, allocations: 154.6 MB / 398.8 MB, free: 376 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. Notification: Performance of NFInstanceAPI.mkTop(): time 0.3143/1.124, allocations: 49.04 MB / 447.8 MB, free: 6.539 MB / 426.7 MB " [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.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside") translateModel(IDEAS.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 449.2 MB, free: 5.211 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.451e-05/2.619e-05, allocations: 2.312 kB / 449.2 MB, free: 5.207 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothHeaviside): time 0.003277/0.003303, allocations: 1.556 MB / 450.7 MB, free: 3.684 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009805/0.004283, allocations: 494.2 kB / 451.2 MB, free: 3.199 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.425e-05/0.004318, allocations: 0 / 451.2 MB, free: 3.199 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 2.636e-05/0.004344, allocations: 9.516 kB / 451.2 MB, free: 3.191 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 4.71e-05/0.004391, allocations: 5.359 kB / 451.2 MB, free: 3.188 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001472/0.004538, allocations: 26.3 kB / 451.2 MB, free: 3.164 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 7.681e-05/0.004615, allocations: 20.81 kB / 451.3 MB, free: 3.148 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.096e-05/0.004696, allocations: 11.98 kB / 451.3 MB, free: 3.137 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.543e-05/0.004791, allocations: 18.75 kB / 451.3 MB, free: 3.121 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.892e-05/0.00484, allocations: 9.094 kB / 451.3 MB, free: 3.113 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.662e-05/0.004857, allocations: 4.906 kB / 451.3 MB, free: 3.109 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.566e-05/0.004943, allocations: 16.73 kB / 451.3 MB, free: 3.094 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 1.7e-05/0.00496, allocations: 7.406 kB / 451.3 MB, free: 3.09 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 1.845e-05/0.004978, allocations: 5.203 kB / 451.3 MB, free: 3.086 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001146/0.005093, allocations: 21.62 kB / 451.4 MB, free: 3.066 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.254e-05/0.005105, allocations: 1.094 kB / 451.4 MB, free: 3.066 MB / 426.7 MB Notification: Performance of FrontEnd: time 8.11e-07/0.005106, allocations: 0 / 451.4 MB, free: 3.066 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.344e-05/0.005119, allocations: 0.875 kB / 451.4 MB, free: 3.066 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003982/0.005518, allocations: 238.7 kB / 451.6 MB, free: 2.812 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.005556, allocations: 9.312 kB / 451.6 MB, free: 2.805 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.937e-05/0.005596, allocations: 8.938 kB / 451.6 MB, free: 2.797 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001114/0.005707, allocations: 113.7 kB / 451.7 MB, free: 2.66 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.294e-05/0.00572, allocations: 5.062 kB / 451.7 MB, free: 2.656 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.313e-05/0.005733, allocations: 384 / 451.7 MB, free: 2.656 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000139/0.005872, allocations: 61.03 kB / 451.8 MB, free: 2.59 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.005881, allocations: 192 / 451.8 MB, free: 2.59 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.845e-06/0.005889, allocations: 384 / 451.8 MB, free: 2.59 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/0.005896, allocations: 6.391 kB / 451.8 MB, free: 2.586 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.564e-05/0.005922, allocations: 4 kB / 451.8 MB, free: 2.582 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002429/0.006165, allocations: 144.9 kB / 451.9 MB, free: 2.426 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.042e-05/0.006225, allocations: 24.17 kB / 452 MB, free: 2.395 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.935e-05/0.006245, allocations: 8.922 kB / 452 MB, free: 2.383 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001057/0.00635, allocations: 8.031 kB / 452 MB, free: 2.375 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.255e-05/0.006373, allocations: 30.56 kB / 452 MB, free: 2.336 MB / 426.7 MB Notification: Performance of pre-optimization done (n=2): time 1.723e-06/0.006375, allocations: 0.6562 kB / 452 MB, free: 2.336 MB / 426.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001312/0.006506, allocations: 43.14 kB / 452.1 MB, free: 2.289 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.107e-05/0.006537, allocations: 51.41 kB / 452.1 MB, free: 2.227 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.474e-05/0.006602, allocations: 110.7 kB / 452.2 MB, free: 2.105 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.168e-05/0.006613, allocations: 27.2 kB / 452.2 MB, free: 2.074 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.476e-05/0.006648, allocations: 80.14 kB / 452.3 MB, free: 1.992 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.698e-05/0.006665, allocations: 4.5 kB / 452.3 MB, free: 1.988 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.508e-05/0.0067, allocations: 25.62 kB / 452.3 MB, free: 1.957 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.367e-05/0.006784, allocations: 311.5 kB / 452.7 MB, free: 1.645 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.284e-05/0.006797, allocations: 4 kB / 452.7 MB, free: 1.641 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.427e-06/0.006806, allocations: 1.094 kB / 452.7 MB, free: 1.641 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.102e-05/0.006837, allocations: 14.25 kB / 452.7 MB, free: 1.625 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.006841, allocations: 4 kB / 452.7 MB, free: 1.621 MB / 426.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.071e-05/0.006901, allocations: 37 kB / 452.7 MB, free: 1.582 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.006918, allocations: 8 kB / 452.7 MB, free: 1.574 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.006922, allocations: 0 / 452.7 MB, free: 1.574 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.006937, allocations: 3.938 kB / 452.7 MB, free: 1.57 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.308e-05/0.00702, allocations: 11.92 kB / 452.7 MB, free: 1.559 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.906e-06/0.007023, allocations: 1.094 kB / 452.7 MB, free: 1.559 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.495e-05/0.007048, allocations: 4.25 kB / 452.7 MB, free: 1.555 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.941e-06/0.007054, allocations: 4 kB / 452.7 MB, free: 1.551 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * 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.0001913/0.007245, allocations: 107.1 kB / 452.8 MB, free: 1.438 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.413e-05/0.007269, allocations: 4.609 kB / 452.9 MB, free: 1.434 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.943e-05/0.007358, allocations: 41.75 kB / 452.9 MB, free: 1.387 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.007363, allocations: 3.938 kB / 452.9 MB, free: 1.383 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.007366, allocations: 4.5 kB / 452.9 MB, free: 1.379 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.00737, allocations: 4.672 kB / 452.9 MB, free: 1.375 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001129/0.007483, allocations: 66.97 kB / 453 MB, free: 1.293 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.007485, allocations: 1.172 kB / 453 MB, free: 1.293 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.788e-05/0.007533, allocations: 4 kB / 453 MB, free: 1.289 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.149e-05/0.007544, allocations: 12.5 kB / 453 MB, free: 1.277 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.846e-06/0.007547, allocations: 0.625 kB / 453 MB, free: 1.277 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.04e-06/0.007552, allocations: 0 / 453 MB, free: 1.277 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.007555, allocations: 5.547 kB / 453 MB, free: 1.273 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.007556, allocations: 4.875 kB / 453 MB, free: 1.27 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.385e-05/0.00765, allocations: 127.5 kB / 453.1 MB, free: 1.129 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.313e-05/0.007663, allocations: 5.719 kB / 453.1 MB, free: 1.125 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.936e-05/0.007722, allocations: 0 / 453.1 MB, free: 1.125 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.197e-05/0.007754, allocations: 7.938 kB / 453.1 MB, free: 1.117 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.472e-06/0.007761, allocations: 7.984 kB / 453.1 MB, free: 1.109 MB / 426.7 MB Notification: Performance of sorting global known variables: time 1.693e-05/0.007778, allocations: 8.859 kB / 453.2 MB, free: 1.098 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.007778, allocations: 0.9062 kB / 453.2 MB, free: 1.098 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000201/0.007979, allocations: 8.812 kB / 453.2 MB, free: 1.09 MB / 426.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 (2): * Single equations (assignments): 2 * 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.0001283/0.008107, allocations: 77.42 kB / 453.2 MB, free: 1.004 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 7.701e-05/0.008184, allocations: 22.86 kB / 453.3 MB, free: 0.9805 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.6e-06/0.00819, allocations: 0 / 453.3 MB, free: 0.9805 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 2.755e-05/0.008217, allocations: 10.39 kB / 453.3 MB, free: 0.9688 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002301/0.008447, allocations: 72.59 kB / 453.3 MB, free: 0.8867 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004346/0.008882, allocations: 109.7 kB / 453.4 MB, free: 0.7578 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.926e-05/0.008921, allocations: 52.42 kB / 453.5 MB, free: 0.6875 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.462e-05/0.008946, allocations: 4 kB / 453.5 MB, free: 0.6836 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.981e-05/0.009006, allocations: 60.52 kB / 453.6 MB, free: 0.625 MB / 426.7 MB Notification: Performance of SimCode: time 6.81e-07/0.009006, allocations: 0.875 kB / 453.6 MB, free: 0.625 MB / 426.7 MB Notification: Performance of Templates: time 0.002891/0.0119, allocations: 0.6221 MB / 454.2 MB, free: 44 kB / 426.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.488789351657033]