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.001437/0.001437, allocations: 88.72 kB / 19.44 MB, free: 356 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.001615/0.001615, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.518/1.518, allocations: 177.1 MB / 203.1 MB, free: 5.613 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.284/1.284, allocations: 154.6 MB / 414.1 MB, free: 0.6445 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.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.373e-06/1.373e-06, allocations: 0 / 0.5196 GB, free: 1.422 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.86e-05/2.998e-05, allocations: 2.312 kB / 0.5196 GB, free: 1.418 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothHeaviside): time 0.002939/0.002969, allocations: 1.454 MB / 0.521 GB, free: 15.97 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009861/0.003956, allocations: 479.8 kB / 0.5215 GB, free: 15.51 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.296e-05/0.003989, allocations: 1.203 kB / 0.5215 GB, free: 15.51 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 2.82e-05/0.004017, allocations: 3.938 kB / 0.5215 GB, free: 15.5 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 6.692e-05/0.004084, allocations: 8.141 kB / 0.5215 GB, free: 15.5 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000217/0.004301, allocations: 23.92 kB / 0.5215 GB, free: 15.47 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 7.319e-05/0.004374, allocations: 23.92 kB / 0.5216 GB, free: 15.45 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.947e-05/0.004453, allocations: 8.828 kB / 0.5216 GB, free: 15.44 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.687e-05/0.00453, allocations: 11.98 kB / 0.5216 GB, free: 15.43 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.155e-05/0.004572, allocations: 12.5 kB / 0.5216 GB, free: 15.42 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 1.58e-05/0.004588, allocations: 4 kB / 0.5216 GB, free: 15.41 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.316e-05/0.004651, allocations: 12.92 kB / 0.5216 GB, free: 15.4 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 1.569e-05/0.004666, allocations: 4 kB / 0.5216 GB, free: 15.4 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 2.369e-05/0.00469, allocations: 5.594 kB / 0.5216 GB, free: 15.39 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001278/0.004818, allocations: 43.75 kB / 0.5217 GB, free: 15.35 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.00482, allocations: 4 kB / 0.5217 GB, free: 15.35 MB / 458.7 MB Notification: Performance of FrontEnd: time 8.02e-07/0.004821, allocations: 0 / 0.5217 GB, free: 15.35 MB / 458.7 MB Notification: Performance of Transformations before backend: time 3.557e-06/0.004824, allocations: 0 / 0.5217 GB, free: 15.35 MB / 458.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.0004852/0.00531, allocations: 263.2 kB / 0.5219 GB, free: 15.06 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.683e-05/0.005346, allocations: 14.03 kB / 0.5219 GB, free: 15.05 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.602e-05/0.005392, allocations: 4.891 kB / 0.5219 GB, free: 15.05 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001226/0.005515, allocations: 109.8 kB / 0.522 GB, free: 14.91 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.378e-05/0.005529, allocations: 4.359 kB / 0.522 GB, free: 14.91 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.333e-05/0.005542, allocations: 4.375 kB / 0.522 GB, free: 14.91 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001818/0.005724, allocations: 47 kB / 0.5221 GB, free: 14.86 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.005732, allocations: 4.188 kB / 0.5221 GB, free: 14.85 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.208e-06/0.005741, allocations: 1.094 kB / 0.5221 GB, free: 14.85 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.005748, allocations: 3.938 kB / 0.5221 GB, free: 14.85 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001841/0.005932, allocations: 41.17 kB / 0.5221 GB, free: 14.81 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003506/0.006283, allocations: 194.1 kB / 0.5223 GB, free: 14.59 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000143/0.006426, allocations: 34.56 kB / 0.5224 GB, free: 14.55 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.912e-05/0.006525, allocations: 17.69 kB / 0.5224 GB, free: 14.53 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000105/0.00663, allocations: 11.98 kB / 0.5224 GB, free: 14.52 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.064e-05/0.00667, allocations: 39.31 kB / 0.5224 GB, free: 14.47 MB / 458.7 MB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.006671, allocations: 0 / 0.5224 GB, free: 14.47 MB / 458.7 MB Notification: Performance of matching and sorting (n=2): time 0.0004055/0.007077, allocations: 92.62 kB / 0.5225 GB, free: 14.38 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.099e-05/0.007128, allocations: 51.41 kB / 0.5226 GB, free: 14.31 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001052/0.007233, allocations: 109.8 kB / 0.5227 GB, free: 14.2 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.269e-05/0.007256, allocations: 25.7 kB / 0.5227 GB, free: 14.16 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.151e-05/0.007317, allocations: 84.12 kB / 0.5228 GB, free: 14.08 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.247e-05/0.00734, allocations: 8.391 kB / 0.5228 GB, free: 14.07 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.074e-05/0.00738, allocations: 18.75 kB / 0.5228 GB, free: 14.05 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.000176/0.007556, allocations: 310.8 kB / 0.5231 GB, free: 13.73 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.342e-05/0.00765, allocations: 20.55 kB / 0.5231 GB, free: 13.71 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.104e-05/0.007731, allocations: 16.94 kB / 0.5231 GB, free: 13.7 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001647/0.007896, allocations: 41.73 kB / 0.5232 GB, free: 13.66 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.572e-06/0.007897, allocations: 0.9062 kB / 0.5232 GB, free: 13.66 MB / 458.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000233/0.00813, allocations: 70.69 kB / 0.5232 GB, free: 13.58 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.008148, allocations: 7.938 kB / 0.5232 GB, free: 13.57 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.008153, allocations: 1.219 kB / 0.5232 GB, free: 13.57 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.00817, allocations: 0 / 0.5232 GB, free: 13.57 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.03e-05/0.00826, allocations: 11.98 kB / 0.5233 GB, free: 13.56 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.369e-06/0.008265, allocations: 0.625 kB / 0.5233 GB, free: 13.56 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.899e-05/0.008314, allocations: 5.656 kB / 0.5233 GB, free: 13.56 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.079e-06/0.008319, allocations: 0 / 0.5233 GB, free: 13.56 MB / 458.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 9.663e-05/0.008415, allocations: 113.8 kB / 0.5234 GB, free: 13.44 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.995e-05/0.008445, allocations: 7.891 kB / 0.5234 GB, free: 13.43 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002556/0.008701, allocations: 82.08 kB / 0.5235 GB, free: 13.35 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.008703, allocations: 0.7812 kB / 0.5235 GB, free: 13.35 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.008706, allocations: 0 / 0.5235 GB, free: 13.35 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.983e-06/0.008708, allocations: 1.188 kB / 0.5235 GB, free: 13.35 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001751/0.008883, allocations: 109.3 kB / 0.5236 GB, free: 13.21 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.008885, allocations: 0 / 0.5236 GB, free: 13.21 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.386e-05/0.008948, allocations: 8.719 kB / 0.5236 GB, free: 13.2 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.621e-06/0.008954, allocations: 3.984 kB / 0.5236 GB, free: 13.2 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.766e-06/0.008963, allocations: 4.562 kB / 0.5236 GB, free: 13.2 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.008964, allocations: 0 / 0.5236 GB, free: 13.2 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/0.008967, allocations: 5.797 kB / 0.5236 GB, free: 13.19 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002974/0.009265, allocations: 171.5 kB / 0.5237 GB, free: 13.01 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.404e-06/0.009272, allocations: 1.562 kB / 0.5237 GB, free: 13.01 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.814e-05/0.00929, allocations: 3.938 kB / 0.5237 GB, free: 13 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.987e-05/0.00937, allocations: 4 kB / 0.5238 GB, free: 13 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.425e-05/0.009414, allocations: 11.92 kB / 0.5238 GB, free: 12.99 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.727e-06/0.009418, allocations: 3 kB / 0.5238 GB, free: 12.99 MB / 458.7 MB Notification: Performance of sorting global known variables: time 6.441e-05/0.009483, allocations: 87.28 kB / 0.5239 GB, free: 12.9 MB / 458.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009483, allocations: 0 / 0.5239 GB, free: 12.9 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002339/0.009717, allocations: 4 kB / 0.5239 GB, free: 12.9 MB / 458.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.0001836/0.0099, allocations: 103.2 kB / 0.524 GB, free: 12.79 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0002218/0.01012, allocations: 38.06 kB / 0.524 GB, free: 12.75 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.01012, allocations: 0 / 0.524 GB, free: 12.75 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 9.885e-05/0.01022, allocations: 27.91 kB / 0.524 GB, free: 12.72 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003048/0.01053, allocations: 9.109 kB / 0.524 GB, free: 12.72 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003262/0.01085, allocations: 101.5 kB / 0.5241 GB, free: 12.59 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.597e-05/0.01093, allocations: 73.59 kB / 0.5242 GB, free: 12.5 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 2.393e-05/0.01095, allocations: 0 / 0.5242 GB, free: 12.5 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.981e-05/0.01098, allocations: 12.5 kB / 0.5242 GB, free: 12.49 MB / 458.7 MB Notification: Performance of SimCode: time 6.82e-07/0.01098, allocations: 0 / 0.5242 GB, free: 12.49 MB / 458.7 MB Notification: Performance of Templates: time 0.003277/0.01426, allocations: 0.6137 MB / 0.5248 GB, free: 11.91 MB / 458.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=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.7620362939778715]