Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0007022/0.0007022, allocations: 115 kB / 19.7 MB, free: 0.5273 MB / 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.0007254/0.0007254, allocations: 215.9 kB / 23.01 MB, free: 3.109 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.8521/0.8521, allocations: 230.6 MB / 256.8 MB, free: 3.473 MB / 202.7 MB " [Timeout remaining time 179] 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 0.7596/0.7596, allocations: 203.8 MB / 0.5049 GB, free: 0.668 MB / 410.7 MB " [Timeout remaining time 179] 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.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside") translateModel(IDEAS.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside") [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009609/0.0009609, allocations: 67.89 kB / 0.7195 GB, free: 14.43 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4316/0.4325, allocations: 102 MB / 0.8191 GB, free: 25.21 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothHeaviside): time 0.001894/0.4344, allocations: 1.462 MB / 0.8205 GB, free: 24.21 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0006184/0.435, allocations: 0.5133 MB / 0.821 GB, free: 23.86 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.303e-05/0.4351, allocations: 1.094 kB / 0.821 GB, free: 23.86 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.332e-05/0.4351, allocations: 1.688 kB / 0.821 GB, free: 23.86 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 6.224e-05/0.4351, allocations: 8.625 kB / 0.821 GB, free: 23.85 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002054/0.4354, allocations: 30.5 kB / 0.8211 GB, free: 23.84 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 6.91e-05/0.4354, allocations: 25.84 kB / 0.8211 GB, free: 23.82 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 8.611e-05/0.4355, allocations: 3.422 kB / 0.8211 GB, free: 23.82 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 6.044e-05/0.4356, allocations: 9.641 kB / 0.8211 GB, free: 23.82 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 3.712e-05/0.4356, allocations: 13.98 kB / 0.8211 GB, free: 23.81 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.085e-05/0.4356, allocations: 1.562 kB / 0.8211 GB, free: 23.81 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 6.816e-05/0.4357, allocations: 27.47 kB / 0.8211 GB, free: 23.8 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.131e-05/0.4357, allocations: 5.828 kB / 0.8211 GB, free: 23.8 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 2.128e-05/0.4357, allocations: 11.98 kB / 0.8211 GB, free: 23.79 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001008/0.4358, allocations: 35.58 kB / 0.8212 GB, free: 23.78 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.4358, allocations: 0 / 0.8212 GB, free: 23.78 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.864e-06/0.4358, allocations: 1.219 kB / 0.8212 GB, free: 23.78 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.4358, allocations: 0.5938 kB / 0.8212 GB, free: 23.78 MB / 0.6355 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.0002951/0.4361, allocations: 266.1 kB / 0.8214 GB, free: 23.52 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.599e-05/0.4362, allocations: 10.28 kB / 0.8214 GB, free: 23.52 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001722/0.4363, allocations: 18.84 kB / 0.8215 GB, free: 23.51 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.931e-05/0.4364, allocations: 114 kB / 0.8216 GB, free: 23.38 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.04e-05/0.4364, allocations: 2.422 kB / 0.8216 GB, free: 23.38 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.049e-05/0.4364, allocations: 2.75 kB / 0.8216 GB, free: 23.38 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001279/0.4365, allocations: 60.53 kB / 0.8216 GB, free: 23.34 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.472e-06/0.4365, allocations: 0.6875 kB / 0.8216 GB, free: 23.34 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.078e-06/0.4366, allocations: 4.719 kB / 0.8216 GB, free: 23.33 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.319e-06/0.4366, allocations: 1.875 kB / 0.8216 GB, free: 23.33 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.912e-05/0.4367, allocations: 35.41 kB / 0.8217 GB, free: 23.33 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002721/0.4369, allocations: 228.9 kB / 0.8219 GB, free: 23.09 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.525e-05/0.437, allocations: 39.83 kB / 0.8219 GB, free: 23.06 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.127e-05/0.4371, allocations: 26.58 kB / 0.822 GB, free: 23.05 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.692e-05/0.4371, allocations: 3.938 kB / 0.822 GB, free: 23.04 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.409e-05/0.4371, allocations: 37.08 kB / 0.822 GB, free: 23 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.4371, allocations: 0.9375 kB / 0.822 GB, free: 23 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0002225/0.4373, allocations: 95.72 kB / 0.8221 GB, free: 22.95 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.004e-05/0.4373, allocations: 52.12 kB / 0.8221 GB, free: 22.89 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.53e-05/0.4374, allocations: 102.5 kB / 0.8222 GB, free: 22.79 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.2e-06/0.4374, allocations: 25.7 kB / 0.8223 GB, free: 22.76 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.072e-05/0.4374, allocations: 86.58 kB / 0.8223 GB, free: 22.67 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.535e-05/0.4374, allocations: 9.312 kB / 0.8224 GB, free: 22.66 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.299e-05/0.4375, allocations: 13.64 kB / 0.8224 GB, free: 22.65 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 2.75e-05/0.4375, allocations: 314.5 kB / 0.8227 GB, free: 22.34 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.818e-05/0.4375, allocations: 22.45 kB / 0.8227 GB, free: 22.33 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.246e-05/0.4376, allocations: 19.11 kB / 0.8227 GB, free: 22.33 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.447e-05/0.4377, allocations: 47.67 kB / 0.8228 GB, free: 22.31 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.4377, allocations: 0 / 0.8228 GB, free: 22.31 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001116/0.4378, allocations: 73.27 kB / 0.8228 GB, free: 22.27 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/0.4378, allocations: 5.312 kB / 0.8228 GB, free: 22.27 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.4378, allocations: 1.125 kB / 0.8228 GB, free: 22.27 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.4378, allocations: 1.031 kB / 0.8228 GB, free: 22.27 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.501e-05/0.4379, allocations: 14.61 kB / 0.8228 GB, free: 22.27 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.211e-06/0.4379, allocations: 4.5 kB / 0.8228 GB, free: 22.26 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.163e-05/0.4379, allocations: 6.25 kB / 0.8229 GB, free: 22.26 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.531e-06/0.4379, allocations: 1.406 kB / 0.8229 GB, free: 22.26 MB / 0.6355 GB 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 3.785e-05/0.438, allocations: 117.8 kB / 0.823 GB, free: 22.14 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.327e-05/0.438, allocations: 5.078 kB / 0.823 GB, free: 22.14 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.129e-05/0.438, allocations: 13.06 kB / 0.823 GB, free: 22.13 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.716e-06/0.438, allocations: 1.062 kB / 0.823 GB, free: 22.13 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.438, allocations: 4.844 kB / 0.823 GB, free: 22.12 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.438, allocations: 0 / 0.823 GB, free: 22.12 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.122e-05/0.4381, allocations: 134 kB / 0.8231 GB, free: 21.96 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.4381, allocations: 0 / 0.8231 GB, free: 21.96 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.799e-05/0.4381, allocations: 10.64 kB / 0.8231 GB, free: 21.96 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.4381, allocations: 1.188 kB / 0.8231 GB, free: 21.96 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.502e-06/0.4381, allocations: 0.8906 kB / 0.8231 GB, free: 21.96 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.4382, allocations: 1.25 kB / 0.8231 GB, free: 21.96 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.4382, allocations: 3.938 kB / 0.8231 GB, free: 21.96 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000126/0.4383, allocations: 173.3 kB / 0.8233 GB, free: 21.81 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.621e-06/0.4383, allocations: 1.891 kB / 0.8233 GB, free: 21.81 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.748e-06/0.4383, allocations: 1.625 kB / 0.8233 GB, free: 21.81 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.438e-05/0.4383, allocations: 7.25 kB / 0.8233 GB, free: 21.81 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.305e-05/0.4384, allocations: 2.438 kB / 0.8233 GB, free: 21.81 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.637e-06/0.4384, allocations: 1.438 kB / 0.8233 GB, free: 21.81 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 1.802e-05/0.4384, allocations: 92.11 kB / 0.8234 GB, free: 21.73 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4384, allocations: 0 / 0.8234 GB, free: 21.73 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001472/0.4385, allocations: 4.531 kB / 0.8234 GB, free: 21.73 MB / 0.6355 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 (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 6.875e-05/0.4386, allocations: 93.83 kB / 0.8235 GB, free: 21.64 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001292/0.4387, allocations: 36.56 kB / 0.8235 GB, free: 21.63 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.4387, allocations: 4 kB / 0.8235 GB, free: 21.63 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.355e-05/0.4388, allocations: 22.55 kB / 0.8236 GB, free: 21.62 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002132/0.439, allocations: 15.91 kB / 0.8236 GB, free: 21.61 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002275/0.4392, allocations: 140.9 kB / 0.8237 GB, free: 21.46 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.188e-05/0.4393, allocations: 0.6772 MB / 0.8244 GB, free: 20.77 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.979e-05/0.4393, allocations: 9.562 kB / 0.8244 GB, free: 20.76 MB / 0.6355 GB Notification: Performance of SimCode: time 6.32e-07/0.4393, allocations: 0 / 0.8244 GB, free: 20.76 MB / 0.6355 GB Notification: Performance of Templates: time 0.001686/0.441, allocations: 0.6591 MB / 0.825 GB, free: 20.72 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.533369611017406] Failed to read output from testmodel.py, exit status != 0: 0.4467308740131557 0.454851789 0.017225895 Calling exit ...