Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001376/0.001376, allocations: 80.2 kB / 19.18 MB, free: 2.527 MB / 14.72 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.001617/0.001617, allocations: 173.5 kB / 22.46 MB, free: 5.355 MB / 14.72 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.451/1.451, allocations: 177.2 MB / 202.8 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 1.216/1.216, allocations: 154.6 MB / 413.7 MB, free: 5.289 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") translateModel(IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 0.6186 GB, free: 4.609 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.192e-05/3.358e-05, allocations: 5.203 kB / 0.6186 GB, free: 4.605 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001597/0.00163, allocations: 0.6151 MB / 0.6192 GB, free: 4.004 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001653/0.003283, allocations: 1.124 MB / 0.6203 GB, free: 2.863 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.727e-05/0.00331, allocations: 0 / 0.6203 GB, free: 2.863 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.365e-05/0.003324, allocations: 0 / 0.6203 GB, free: 2.863 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0002561/0.00358, allocations: 19.92 kB / 0.6203 GB, free: 2.844 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 3.788e-06/0.003583, allocations: 0 / 0.6203 GB, free: 2.844 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 4.793e-05/0.003631, allocations: 11.94 kB / 0.6203 GB, free: 2.832 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.788e-05/0.003679, allocations: 4 kB / 0.6203 GB, free: 2.828 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.915e-05/0.003708, allocations: 0 / 0.6203 GB, free: 2.828 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 3.014e-05/0.003738, allocations: 0 / 0.6203 GB, free: 2.828 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.128e-05/0.00375, allocations: 0 / 0.6203 GB, free: 2.828 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001175/0.003867, allocations: 23.91 kB / 0.6203 GB, free: 2.805 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.469e-05/0.003882, allocations: 3.938 kB / 0.6203 GB, free: 2.801 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.256e-05/0.003895, allocations: 4 kB / 0.6203 GB, free: 2.797 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 9.619e-05/0.003991, allocations: 11.92 kB / 0.6204 GB, free: 2.785 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.345e-06/0.003993, allocations: 0 / 0.6204 GB, free: 2.785 MB / 0.5294 GB Notification: Performance of FrontEnd: time 6.81e-07/0.003994, allocations: 0 / 0.6204 GB, free: 2.785 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.338e-06/0.003998, allocations: 7.938 kB / 0.6204 GB, free: 2.777 MB / 0.5294 GB 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.0003789/0.004377, allocations: 250.4 kB / 0.6206 GB, free: 2.504 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.104e-05/0.004428, allocations: 9.469 kB / 0.6206 GB, free: 2.496 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003084/0.004736, allocations: 12.92 kB / 0.6206 GB, free: 2.484 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000121/0.004857, allocations: 101.8 kB / 0.6207 GB, free: 2.359 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.068e-05/0.004878, allocations: 8.375 kB / 0.6207 GB, free: 2.352 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.758e-05/0.004906, allocations: 384 / 0.6207 GB, free: 2.352 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001325/0.005038, allocations: 42.23 kB / 0.6208 GB, free: 2.305 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.414e-05/0.005052, allocations: 192 / 0.6208 GB, free: 2.305 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.578e-06/0.005062, allocations: 384 / 0.6208 GB, free: 2.305 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.741e-05/0.005079, allocations: 7.938 kB / 0.6208 GB, free: 2.297 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.098e-05/0.00513, allocations: 11.94 kB / 0.6208 GB, free: 2.285 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001925/0.005323, allocations: 105.3 kB / 0.6209 GB, free: 2.152 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002271/0.00555, allocations: 30.58 kB / 0.6209 GB, free: 2.113 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.111e-05/0.005581, allocations: 12.94 kB / 0.6209 GB, free: 2.098 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.571e-05/0.005607, allocations: 0 / 0.6209 GB, free: 2.098 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.67e-05/0.005643, allocations: 34.56 kB / 0.621 GB, free: 2.055 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.005644, allocations: 3.938 kB / 0.621 GB, free: 2.051 MB / 0.5294 GB Notification: Performance of matching and sorting (n=5): time 0.004164/0.009808, allocations: 0.5444 MB / 0.6215 GB, free: 1.5 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.565e-05/0.009864, allocations: 55.34 kB / 0.6215 GB, free: 1.434 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.517e-05/0.009919, allocations: 89.86 kB / 0.6216 GB, free: 1.336 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.566e-05/0.009945, allocations: 25.7 kB / 0.6217 GB, free: 1.305 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.536e-05/0.00999, allocations: 84.14 kB / 0.6217 GB, free: 1.219 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.581e-05/0.01004, allocations: 23.8 kB / 0.6218 GB, free: 1.195 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.067e-05/0.0101, allocations: 21.7 kB / 0.6218 GB, free: 1.168 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001458/0.01024, allocations: 314.8 kB / 0.6221 GB, free: 0.8516 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006106/0.01085, allocations: 79.95 kB / 0.6222 GB, free: 0.7734 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006188/0.01147, allocations: 106.5 kB / 0.6223 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001264/0.01274, allocations: 194.4 kB / 0.6224 GB, free: 472 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.01274, allocations: 0 / 0.6224 GB, free: 472 kB / 0.5294 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001322/0.01406, allocations: 209.6 kB / 0.6226 GB, free: 256 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.01408, allocations: 4 kB / 0.6227 GB, free: 252 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.01408, allocations: 4 kB / 0.6227 GB, free: 248 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.748e-05/0.0141, allocations: 0 / 0.6227 GB, free: 248 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004246/0.01453, allocations: 55.94 kB / 0.6227 GB, free: 192 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.335e-06/0.01453, allocations: 3.984 kB / 0.6227 GB, free: 188 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003719/0.01491, allocations: 39.98 kB / 0.6227 GB, free: 148 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.795e-05/0.01492, allocations: 4 kB / 0.6228 GB, free: 144 kB / 0.5294 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.000119/0.01504, allocations: 114.8 kB / 0.6229 GB, free: 20 kB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.893e-05/0.01506, allocations: 0 / 0.6229 GB, free: 20 kB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.684e-05/0.01513, allocations: 15.64 kB / 0.6229 GB, free: 0 / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.921e-05/0.01515, allocations: 4.047 kB / 0.6229 GB, free: 15.99 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.317e-06/0.01516, allocations: 7.875 kB / 0.6229 GB, free: 15.98 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.01516, allocations: 0 / 0.6229 GB, free: 15.98 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001661/0.01682, allocations: 398 kB / 0.6233 GB, free: 15.56 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.01682, allocations: 256 / 0.6233 GB, free: 15.56 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004238/0.01725, allocations: 55.97 kB / 0.6233 GB, free: 15.51 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.132e-06/0.01725, allocations: 7.938 kB / 0.6233 GB, free: 15.5 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.566e-05/0.01727, allocations: 0 / 0.6233 GB, free: 15.5 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.153e-06/0.01727, allocations: 0 / 0.6233 GB, free: 15.5 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.01727, allocations: 0 / 0.6233 GB, free: 15.5 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001396/0.01867, allocations: 307.4 kB / 0.6236 GB, free: 15.18 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.524e-06/0.01867, allocations: 4 kB / 0.6236 GB, free: 15.18 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.299e-05/0.01872, allocations: 7.875 kB / 0.6236 GB, free: 15.17 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004088/0.01913, allocations: 43.97 kB / 0.6237 GB, free: 15.13 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.432e-05/0.01914, allocations: 0 / 0.6237 GB, free: 15.13 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.547e-05/0.01916, allocations: 4 kB / 0.6237 GB, free: 15.12 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.318e-05/0.0192, allocations: 83.31 kB / 0.6238 GB, free: 15.04 MB / 0.545 GB Notification: Performance of sort global known variables: time 7.1e-08/0.0192, allocations: 0 / 0.6238 GB, free: 15.04 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002459/0.01945, allocations: 8 kB / 0.6238 GB, free: 15.04 MB / 0.545 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.0001711/0.01962, allocations: 99.23 kB / 0.6239 GB, free: 14.93 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001359/0.02098, allocations: 179.9 kB / 0.624 GB, free: 14.75 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.02098, allocations: 0 / 0.624 GB, free: 14.75 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0006479/0.02163, allocations: 92.08 kB / 0.6241 GB, free: 14.66 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002131/0.02184, allocations: 0 / 0.6241 GB, free: 14.66 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001287/0.02313, allocations: 224.6 kB / 0.6243 GB, free: 14.41 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.021e-05/0.0232, allocations: 59.36 kB / 0.6244 GB, free: 14.34 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.00019/0.02339, allocations: 35.98 kB / 0.6244 GB, free: 14.3 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.71e-05/0.02347, allocations: 16.5 kB / 0.6244 GB, free: 14.29 MB / 0.545 GB Notification: Performance of SimCode: time 4.2e-07/0.02347, allocations: 0 / 0.6244 GB, free: 14.29 MB / 0.545 GB Notification: Performance of Templates: time 0.003337/0.02681, allocations: 0.7769 MB / 0.6252 GB, free: 13.52 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.73725751042366] Failed to read output from testmodel.py, exit status != 0: 0.035495124757289886 0.049716260000000005 0.042614239000000005 Calling exit ...