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.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001422/0.001422, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00148/0.00148, allocations: 185.8 kB / 22.22 MB, free: 5.16 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.454/1.454, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8747/0.8747, allocations: 134 MB / 440.3 MB, free: 184 kB / 334.1 MB
"
[Timeout remaining time 179]
Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo)
Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo)
Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo)
Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001921/0.001921, allocations: 69.75 kB / 0.6108 GB, free: 13.62 MB / 446.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1948/0.1968, allocations: 84.73 MB / 0.6935 GB, free: 8.965 MB / 0.5137 GB
Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001994/0.1988, allocations: 0.5983 MB / 0.6941 GB, free: 8.371 MB / 0.5137 GB
Notification: Performance of NFInst.instExpressions: time 0.001713/0.2005, allocations: 1.124 MB / 0.6952 GB, free: 7.23 MB / 0.5137 GB
Notification: Performance of NFInst.updateImplicitVariability: time 3.099e-05/0.2005, allocations: 4 kB / 0.6952 GB, free: 7.227 MB / 0.5137 GB
Notification: Performance of NFTyping.typeComponents: time 1.262e-05/0.2005, allocations: 0 / 0.6952 GB, free: 7.227 MB / 0.5137 GB
Notification: Performance of NFTyping.typeBindings: time 0.0002616/0.2008, allocations: 19.92 kB / 0.6952 GB, free: 7.207 MB / 0.5137 GB
Notification: Performance of NFTyping.typeClassSections: time 3.878e-06/0.2008, allocations: 0 / 0.6952 GB, free: 7.207 MB / 0.5137 GB
Notification: Performance of NFFlatten.flatten: time 4.656e-05/0.2008, allocations: 3.938 kB / 0.6952 GB, free: 7.203 MB / 0.5137 GB
Notification: Performance of NFFlatten.resolveConnections: time 5.086e-05/0.2009, allocations: 4 kB / 0.6952 GB, free: 7.199 MB / 0.5137 GB
Notification: Performance of NFEvalConstants.evaluate: time 1.706e-05/0.2009, allocations: 0 / 0.6952 GB, free: 7.199 MB / 0.5137 GB
Notification: Performance of NFSimplifyModel.simplify: time 4.127e-05/0.2009, allocations: 7.969 kB / 0.6952 GB, free: 7.191 MB / 0.5137 GB
Notification: Performance of NFPackage.collectConstants: time 8.506e-06/0.2009, allocations: 0 / 0.6952 GB, free: 7.191 MB / 0.5137 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001283/0.2011, allocations: 23.92 kB / 0.6953 GB, free: 7.168 MB / 0.5137 GB
Notification: Performance of NFScalarize.scalarize: time 8.415e-06/0.2011, allocations: 7.938 kB / 0.6953 GB, free: 7.16 MB / 0.5137 GB
Notification: Performance of NFVerifyModel.verify: time 1.854e-05/0.2011, allocations: 4 kB / 0.6953 GB, free: 7.156 MB / 0.5137 GB
Notification: Performance of NFConvertDAE.convert: time 9.369e-05/0.2012, allocations: 15.91 kB / 0.6953 GB, free: 7.141 MB / 0.5137 GB
Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.2012, allocations: 0 / 0.6953 GB, free: 7.141 MB / 0.5137 GB
Notification: Performance of FrontEnd: time 1.843e-06/0.2012, allocations: 0 / 0.6953 GB, free: 7.141 MB / 0.5137 GB
Notification: Performance of Transformations before backend: time 6.612e-06/0.2012, allocations: 0 / 0.6953 GB, free: 7.141 MB / 0.5137 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.0003306/0.2015, allocations: 246.4 kB / 0.6955 GB, free: 6.871 MB / 0.5137 GB
Notification: Performance of prepare preOptimizeDAE: time 4.99e-05/0.2016, allocations: 8.031 kB / 0.6955 GB, free: 6.863 MB / 0.5137 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 3.194e-05/0.2016, allocations: 0.9375 kB / 0.6955 GB, free: 6.863 MB / 0.5137 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 9.837e-05/0.2017, allocations: 106.5 kB / 0.6956 GB, free: 6.734 MB / 0.5137 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.514e-05/0.2017, allocations: 8.312 kB / 0.6956 GB, free: 6.727 MB / 0.5137 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.592e-05/0.2018, allocations: 4.375 kB / 0.6956 GB, free: 6.723 MB / 0.5137 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001089/0.2019, allocations: 45.92 kB / 0.6957 GB, free: 6.672 MB / 0.5137 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.2019, allocations: 0 / 0.6957 GB, free: 6.672 MB / 0.5137 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.536e-06/0.2019, allocations: 0 / 0.6957 GB, free: 6.672 MB / 0.5137 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.2019, allocations: 0 / 0.6957 GB, free: 6.672 MB / 0.5137 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 3.535e-05/0.2019, allocations: 4 kB / 0.6957 GB, free: 6.668 MB / 0.5137 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001778/0.2021, allocations: 128.8 kB / 0.6958 GB, free: 6.5 MB / 0.5137 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001855/0.2023, allocations: 34.58 kB / 0.6958 GB, free: 6.457 MB / 0.5137 GB
Notification: Performance of preOpt resolveLoops (simulation): time 2.769e-05/0.2023, allocations: 16.88 kB / 0.6959 GB, free: 6.438 MB / 0.5137 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0001154/0.2024, allocations: 4 kB / 0.6959 GB, free: 6.434 MB / 0.5137 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.896e-05/0.2025, allocations: 42.44 kB / 0.6959 GB, free: 6.383 MB / 0.5137 GB
Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.2025, allocations: 0 / 0.6959 GB, free: 6.383 MB / 0.5137 GB
Notification: Performance of matching and sorting (n=5): time 0.004527/0.207, allocations: 0.5638 MB / 0.6964 GB, free: 5.812 MB / 0.5137 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.243e-05/0.207, allocations: 55.41 kB / 0.6965 GB, free: 5.746 MB / 0.5137 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001133/0.2072, allocations: 93.86 kB / 0.6966 GB, free: 5.645 MB / 0.5137 GB
Notification: Performance of collectPreVariables (initialization): time 2.893e-05/0.2072, allocations: 25.7 kB / 0.6966 GB, free: 5.613 MB / 0.5137 GB
Notification: Performance of collectInitialEqns (initialization): time 3.482e-05/0.2072, allocations: 80.14 kB / 0.6967 GB, free: 5.531 MB / 0.5137 GB
Notification: Performance of collectInitialBindings (initialization): time 5.046e-05/0.2073, allocations: 15.83 kB / 0.6967 GB, free: 5.516 MB / 0.5137 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 5.724e-05/0.2073, allocations: 17.72 kB / 0.6967 GB, free: 5.492 MB / 0.5137 GB
Notification: Performance of setup shared object (initialization): time 0.0001696/0.2075, allocations: 322.8 kB / 0.697 GB, free: 5.168 MB / 0.5137 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006216/0.2081, allocations: 79.95 kB / 0.6971 GB, free: 5.09 MB / 0.5137 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.000648/0.2088, allocations: 106.5 kB / 0.6972 GB, free: 4.977 MB / 0.5137 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.001257/0.21, allocations: 190.4 kB / 0.6974 GB, free: 4.781 MB / 0.5137 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.21, allocations: 192 / 0.6974 GB, free: 4.781 MB / 0.5137 GB
Notification: Performance of matching and sorting (n=5) (initialization): time 0.001394/0.2114, allocations: 221.5 kB / 0.6976 GB, free: 4.559 MB / 0.5137 GB
Notification: Performance of prepare postOptimizeDAE: time 2.698e-05/0.2114, allocations: 8 kB / 0.6976 GB, free: 4.551 MB / 0.5137 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.306e-05/0.2115, allocations: 4 kB / 0.6976 GB, free: 4.547 MB / 0.5137 GB
Notification: Performance of postOpt tearingSystem (initialization): time 2.525e-05/0.2115, allocations: 0 / 0.6976 GB, free: 4.547 MB / 0.5137 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004525/0.2119, allocations: 52 kB / 0.6977 GB, free: 4.496 MB / 0.5137 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.159e-05/0.212, allocations: 3.984 kB / 0.6977 GB, free: 4.492 MB / 0.5137 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003697/0.2123, allocations: 39.98 kB / 0.6977 GB, free: 4.453 MB / 0.5137 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.595e-05/0.2123, allocations: 0 / 0.6977 GB, free: 4.453 MB / 0.5137 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.0001474/0.2125, allocations: 121.8 kB / 0.6978 GB, free: 4.324 MB / 0.5137 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.227e-05/0.2125, allocations: 7.938 kB / 0.6978 GB, free: 4.316 MB / 0.5137 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001488/0.214, allocations: 229.1 kB / 0.698 GB, free: 4.086 MB / 0.5137 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.247e-06/0.214, allocations: 7.938 kB / 0.6981 GB, free: 4.078 MB / 0.5137 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.214, allocations: 0 / 0.6981 GB, free: 4.078 MB / 0.5137 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.214, allocations: 0 / 0.6981 GB, free: 4.078 MB / 0.5137 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001678/0.2157, allocations: 429.5 kB / 0.6985 GB, free: 3.609 MB / 0.5137 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.2157, allocations: 0 / 0.6985 GB, free: 3.609 MB / 0.5137 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003983/0.2161, allocations: 47.97 kB / 0.6985 GB, free: 3.562 MB / 0.5137 GB
Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/0.2161, allocations: 0 / 0.6985 GB, free: 3.562 MB / 0.5137 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.845e-05/0.2161, allocations: 4 kB / 0.6985 GB, free: 3.559 MB / 0.5137 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.2161, allocations: 0 / 0.6985 GB, free: 3.559 MB / 0.5137 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.2161, allocations: 0 / 0.6985 GB, free: 3.559 MB / 0.5137 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00139/0.2175, allocations: 315.8 kB / 0.6988 GB, free: 3.234 MB / 0.5137 GB
Notification: Performance of postOpt removeConstants (simulation): time 7.894e-06/0.2175, allocations: 3.953 kB / 0.6988 GB, free: 3.23 MB / 0.5137 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.51e-05/0.2175, allocations: 192 / 0.6988 GB, free: 3.23 MB / 0.5137 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004056/0.2179, allocations: 47.97 kB / 0.6989 GB, free: 3.184 MB / 0.5137 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 1.91e-05/0.218, allocations: 3.984 kB / 0.6989 GB, free: 3.18 MB / 0.5137 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.331e-05/0.218, allocations: 7.938 kB / 0.6989 GB, free: 3.172 MB / 0.5137 GB
Notification: Performance of sorting global known variables: time 4.574e-05/0.218, allocations: 75.28 kB / 0.6989 GB, free: 3.098 MB / 0.5137 GB
Notification: Performance of sort global known variables: time 7e-08/0.218, allocations: 0 / 0.6989 GB, free: 3.098 MB / 0.5137 GB
Notification: Performance of remove unused functions: time 0.0002652/0.2183, allocations: 12 kB / 0.699 GB, free: 3.086 MB / 0.5137 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.0001973/0.2185, allocations: 107.2 kB / 0.6991 GB, free: 2.969 MB / 0.5137 GB
Notification: Performance of simCode: created initialization part: time 0.001376/0.2199, allocations: 187.8 kB / 0.6992 GB, free: 2.785 MB / 0.5137 GB
Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.2199, allocations: 0 / 0.6992 GB, free: 2.785 MB / 0.5137 GB
Notification: Performance of simCode: created simulation system equations: time 0.0006386/0.2205, allocations: 92.06 kB / 0.6993 GB, free: 2.695 MB / 0.5137 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002659/0.2208, allocations: 4 kB / 0.6993 GB, free: 2.691 MB / 0.5137 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001284/0.2221, allocations: 216.2 kB / 0.6995 GB, free: 2.457 MB / 0.5137 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003456/0.2224, allocations: 0.6729 MB / 0.7002 GB, free: 1.758 MB / 0.5137 GB
Notification: Performance of simCode: alias equations: time 0.00018/0.2226, allocations: 31.98 kB / 0.7002 GB, free: 1.727 MB / 0.5137 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 6.883e-05/0.2227, allocations: 15.44 kB / 0.7002 GB, free: 1.715 MB / 0.5137 GB
Notification: Performance of SimCode: time 7.32e-07/0.2227, allocations: 0 / 0.7002 GB, free: 1.715 MB / 0.5137 GB
Notification: Performance of Templates: time 0.00368/0.2263, allocations: 0.823 MB / 0.701 GB, free: 0.8945 MB / 0.5137 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=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 5.634818071499467]
Failed to read output from testmodel.py, exit status != 0:
0.2342325123026967 0.250968456 0.046478629
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7fc26b3857b0>