Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.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.0009319/0.0009319, allocations: 92.22 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.0008951/0.0008951, allocations: 173 kB / 23.03 MB, free: 1.539 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.9685/0.9685, allocations: 177.1 MB / 203.4 MB, free: 5.637 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.7572/0.7572, allocations: 154.6 MB / 414.5 MB, free: 0.6758 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.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") translateModel(IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 0.5204 GB, free: 2.129 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.105e-05/2.257e-05, allocations: 3.375 kB / 0.5204 GB, free: 2.125 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001322/0.001345, allocations: 0.6042 MB / 0.521 GB, free: 1.539 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.004243/0.005588, allocations: 1.161 MB / 0.5221 GB, free: 380 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.505e-05/0.005613, allocations: 0 / 0.5221 GB, free: 380 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.968e-05/0.005633, allocations: 2.062 kB / 0.5221 GB, free: 380 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002292/0.005862, allocations: 23.86 kB / 0.5221 GB, free: 356 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.145e-06/0.005865, allocations: 0 / 0.5221 GB, free: 356 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 4.086e-05/0.005906, allocations: 7.938 kB / 0.5221 GB, free: 348 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.295e-05/0.005939, allocations: 0 / 0.5221 GB, free: 348 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.386e-05/0.005963, allocations: 3.938 kB / 0.5221 GB, free: 344 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.13e-05/0.005984, allocations: 5.125 kB / 0.5222 GB, free: 340 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 9.017e-06/0.005993, allocations: 3.984 kB / 0.5222 GB, free: 336 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001006/0.006093, allocations: 15.98 kB / 0.5222 GB, free: 320 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 9.478e-06/0.006103, allocations: 1.469 kB / 0.5222 GB, free: 320 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 9.848e-06/0.006113, allocations: 0 / 0.5222 GB, free: 320 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 7.36e-05/0.006186, allocations: 15.92 kB / 0.5222 GB, free: 304 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.006188, allocations: 0 / 0.5222 GB, free: 304 kB / 490.7 MB Notification: Performance of FrontEnd: time 7.42e-07/0.006189, allocations: 0.8125 kB / 0.5222 GB, free: 304 kB / 490.7 MB Notification: Performance of Transformations before backend: time 3.697e-06/0.006193, allocations: 0 / 0.5222 GB, free: 304 kB / 490.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.0002552/0.006448, allocations: 345.3 kB / 0.5225 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/0.006485, allocations: 12.03 kB / 0.5225 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.467e-05/0.00652, allocations: 1.938 kB / 0.5225 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.01e-05/0.00658, allocations: 108.6 kB / 0.5226 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.408e-06/0.006589, allocations: 384 / 0.5226 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.382e-05/0.006613, allocations: 8.906 kB / 0.5226 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.151e-05/0.006695, allocations: 34.75 kB / 0.5227 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/0.006704, allocations: 192 / 0.5227 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.765e-06/0.006712, allocations: 1.406 kB / 0.5227 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.746e-06/0.006721, allocations: 3.938 kB / 0.5227 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.692e-05/0.006748, allocations: 4 kB / 0.5227 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001164/0.006864, allocations: 117.5 kB / 0.5228 GB, free: 15.58 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001621/0.007026, allocations: 39 kB / 0.5228 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.198e-05/0.007048, allocations: 20.42 kB / 0.5229 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 9.24e-05/0.007141, allocations: 4.656 kB / 0.5229 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.482e-05/0.007166, allocations: 41.39 kB / 0.5229 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 8.11e-07/0.007166, allocations: 1.281 kB / 0.5229 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of matching and sorting (n=5): time 0.003489/0.01066, allocations: 268.5 kB / 0.5232 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.326e-05/0.01069, allocations: 59.39 kB / 0.5232 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.112e-05/0.01073, allocations: 146.9 kB / 0.5234 GB, free: 14.97 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.691e-05/0.01075, allocations: 25.7 kB / 0.5234 GB, free: 14.94 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 3.068e-05/0.01078, allocations: 131.5 kB / 0.5235 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.419e-05/0.01081, allocations: 12.41 kB / 0.5235 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.035e-05/0.01086, allocations: 23.38 kB / 0.5235 GB, free: 14.76 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001191/0.01098, allocations: 498.7 kB / 0.524 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.765e-05/0.01103, allocations: 11.94 kB / 0.524 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.246e-05/0.01109, allocations: 41.42 kB / 0.5241 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001042/0.0112, allocations: 38.5 kB / 0.5241 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.0112, allocations: 6.438 kB / 0.5241 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001559/0.01135, allocations: 59.97 kB / 0.5242 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.01137, allocations: 8 kB / 0.5242 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.329e-06/0.01137, allocations: 0 / 0.5242 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.01138, allocations: 1.406 kB / 0.5242 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001592/0.01154, allocations: 37.14 kB / 0.5242 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.01155, allocations: 3.984 kB / 0.5242 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001106/0.01166, allocations: 22.03 kB / 0.5242 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.061e-05/0.01167, allocations: 0.625 kB / 0.5242 GB, free: 14.02 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 (5): * Single equations (assignments): 5 * 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.0003155/0.01199, allocations: 165.5 kB / 0.5244 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.948e-05/0.01201, allocations: 3.953 kB / 0.5244 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002202/0.01223, allocations: 82.05 kB / 0.5245 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.285e-06/0.01223, allocations: 0 / 0.5245 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.01223, allocations: 3.938 kB / 0.5245 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.01224, allocations: 4 kB / 0.5245 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003276/0.01256, allocations: 305.8 kB / 0.5248 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.01257, allocations: 0 / 0.5248 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001446/0.01271, allocations: 29.64 kB / 0.5248 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-06/0.01271, allocations: 4.531 kB / 0.5248 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.517e-05/0.01273, allocations: 8 kB / 0.5248 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.01273, allocations: 1.062 kB / 0.5248 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.01273, allocations: 3.938 kB / 0.5248 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001792/0.01291, allocations: 198.9 kB / 0.525 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.742e-06/0.01292, allocations: 4.938 kB / 0.525 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.748e-05/0.01294, allocations: 11.92 kB / 0.525 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.584e-05/0.01303, allocations: 19.62 kB / 0.525 GB, free: 13.15 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.541e-05/0.01305, allocations: 3.984 kB / 0.525 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.362e-06/0.01305, allocations: 0 / 0.525 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 2.535e-05/0.01308, allocations: 123.2 kB / 0.5252 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.01308, allocations: 0 / 0.5252 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001651/0.01324, allocations: 12 kB / 0.5252 GB, free: 13.01 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 (5): * Single equations (assignments): 5 * 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.0001016/0.01335, allocations: 96.19 kB / 0.5253 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001369/0.01348, allocations: 44.23 kB / 0.5253 GB, free: 12.87 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.01348, allocations: 0 / 0.5253 GB, free: 12.87 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 4.098e-05/0.01352, allocations: 23.77 kB / 0.5253 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000137/0.01366, allocations: 4 kB / 0.5253 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002889/0.01395, allocations: 139.6 kB / 0.5255 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.025e-05/0.01398, allocations: 51.36 kB / 0.5255 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001115/0.01409, allocations: 31.42 kB / 0.5255 GB, free: 12.6 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.933e-05/0.01414, allocations: 12.5 kB / 0.5256 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of SimCode: time 7.02e-07/0.01414, allocations: 0.7188 kB / 0.5256 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of Templates: time 0.002253/0.0164, allocations: 0.8991 MB / 0.5264 GB, free: 11.74 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6780721214599907]