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.0007487/0.0007487, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007729/0.0007729, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.8828/0.8828, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.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.75/0.75, allocations: 154.5 MB / 414.5 MB, free: 0.8438 MB / 378.7 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 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: Performance of FrontEnd - loaded program: time 1.002e-06/1.002e-06, allocations: 0 / 0.6193 GB, free: 13.25 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.599e-05/1.699e-05, allocations: 5.891 kB / 0.6193 GB, free: 13.24 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothHeaviside): time 0.001568/0.001585, allocations: 1.454 MB / 0.6207 GB, free: 11.77 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0005255/0.002111, allocations: 474.8 kB / 0.6212 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.421e-05/0.002135, allocations: 4 kB / 0.6212 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.725e-05/0.002152, allocations: 0 / 0.6212 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 6.736e-05/0.00222, allocations: 11.86 kB / 0.6212 GB, free: 11.29 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001335/0.002353, allocations: 19.98 kB / 0.6212 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 4.348e-05/0.002397, allocations: 27.86 kB / 0.6212 GB, free: 11.24 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.993e-05/0.002446, allocations: 4 kB / 0.6212 GB, free: 11.24 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 4.216e-05/0.002489, allocations: 15.92 kB / 0.6212 GB, free: 11.22 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 2.409e-05/0.002513, allocations: 15.97 kB / 0.6213 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 9.077e-06/0.002522, allocations: 4 kB / 0.6213 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 3.898e-05/0.002561, allocations: 15.94 kB / 0.6213 GB, free: 11.19 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.167e-05/0.002572, allocations: 7.984 kB / 0.6213 GB, free: 11.18 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.253e-05/0.002585, allocations: 7.938 kB / 0.6213 GB, free: 11.17 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 6.851e-05/0.002653, allocations: 31.94 kB / 0.6213 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.383e-06/0.002655, allocations: 0 / 0.6213 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of FrontEnd: time 6.01e-07/0.002655, allocations: 0 / 0.6213 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 6.291e-06/0.002662, allocations: 4 kB / 0.6213 GB, free: 11.14 MB / 0.5886 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.0002241/0.002886, allocations: 262.3 kB / 0.6216 GB, free: 10.85 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 2.455e-05/0.00291, allocations: 13.47 kB / 0.6216 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000131/0.003041, allocations: 16.86 kB / 0.6216 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.404e-05/0.003115, allocations: 109.8 kB / 0.6217 GB, free: 10.69 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.124e-05/0.003127, allocations: 8.312 kB / 0.6217 GB, free: 10.68 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.775e-06/0.003134, allocations: 384 / 0.6217 GB, free: 10.68 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001145/0.003249, allocations: 58.22 kB / 0.6218 GB, free: 10.62 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.733e-06/0.003256, allocations: 192 / 0.6218 GB, free: 10.62 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.785e-06/0.003263, allocations: 384 / 0.6218 GB, free: 10.62 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.978e-06/0.003267, allocations: 3.938 kB / 0.6218 GB, free: 10.62 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.853e-05/0.003356, allocations: 35.95 kB / 0.6218 GB, free: 10.58 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002412/0.003597, allocations: 212.5 kB / 0.622 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 7.687e-05/0.003674, allocations: 42.5 kB / 0.6221 GB, free: 10.29 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.611e-05/0.00372, allocations: 28.84 kB / 0.6221 GB, free: 10.26 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.497e-05/0.003735, allocations: 0 / 0.6221 GB, free: 10.26 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.888e-05/0.003754, allocations: 42.47 kB / 0.6221 GB, free: 10.21 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 7.41e-07/0.003755, allocations: 0 / 0.6221 GB, free: 10.21 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.0002081/0.003963, allocations: 89.73 kB / 0.6222 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.482e-05/0.003988, allocations: 51.41 kB / 0.6223 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.775e-05/0.004035, allocations: 105.8 kB / 0.6224 GB, free: 9.941 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 9.127e-06/0.004045, allocations: 25.7 kB / 0.6224 GB, free: 9.91 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.82e-05/0.004083, allocations: 88.12 kB / 0.6225 GB, free: 9.82 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.518e-05/0.004098, allocations: 3.953 kB / 0.6225 GB, free: 9.816 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.536e-05/0.004123, allocations: 13.72 kB / 0.6225 GB, free: 9.797 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.044e-05/0.004194, allocations: 314.8 kB / 0.6228 GB, free: 9.48 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.109e-05/0.004235, allocations: 15.98 kB / 0.6228 GB, free: 9.465 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.834e-05/0.004273, allocations: 28.02 kB / 0.6228 GB, free: 9.438 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.944e-05/0.004353, allocations: 40.83 kB / 0.6229 GB, free: 9.395 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.004354, allocations: 0 / 0.6229 GB, free: 9.395 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001046/0.004459, allocations: 65.66 kB / 0.6229 GB, free: 9.324 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.133e-05/0.00447, allocations: 11.94 kB / 0.6229 GB, free: 9.312 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.004474, allocations: 4.094 kB / 0.6229 GB, free: 9.309 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.698e-06/0.004483, allocations: 3.938 kB / 0.6229 GB, free: 9.305 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.273e-05/0.004546, allocations: 11.98 kB / 0.623 GB, free: 9.293 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/0.00455, allocations: 4.25 kB / 0.623 GB, free: 9.289 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.846e-05/0.004579, allocations: 7.984 kB / 0.623 GB, free: 9.281 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.211e-06/0.004585, allocations: 4 kB / 0.623 GB, free: 9.277 MB / 0.5886 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 4.699e-05/0.004632, allocations: 106.8 kB / 0.6231 GB, free: 9.164 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.386e-05/0.004646, allocations: 11.89 kB / 0.6231 GB, free: 9.152 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.314e-05/0.004669, allocations: 7.312 kB / 0.6231 GB, free: 9.141 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-06/0.00467, allocations: 4 kB / 0.6231 GB, free: 9.137 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.004673, allocations: 0 / 0.6231 GB, free: 9.137 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.004675, allocations: 0 / 0.6231 GB, free: 9.137 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.35e-05/0.004759, allocations: 109.3 kB / 0.6232 GB, free: 9 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.00476, allocations: 3.938 kB / 0.6232 GB, free: 8.996 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.165e-05/0.004791, allocations: 11.98 kB / 0.6232 GB, free: 8.984 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.82e-07/0.004792, allocations: 0 / 0.6232 GB, free: 8.984 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.693e-06/0.004799, allocations: 3.938 kB / 0.6232 GB, free: 8.98 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.91e-07/0.0048, allocations: 3.938 kB / 0.6232 GB, free: 8.977 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.0048, allocations: 0 / 0.6232 GB, free: 8.977 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001354/0.004936, allocations: 175.5 kB / 0.6234 GB, free: 8.789 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 4.308e-06/0.00494, allocations: 0 / 0.6234 GB, free: 8.789 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.059e-05/0.004951, allocations: 7.922 kB / 0.6234 GB, free: 8.781 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.905e-05/0.005, allocations: 8 kB / 0.6234 GB, free: 8.773 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.503e-05/0.005025, allocations: 3.984 kB / 0.6234 GB, free: 8.77 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.544e-06/0.005027, allocations: 0 / 0.6234 GB, free: 8.77 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.603e-05/0.005053, allocations: 83.28 kB / 0.6235 GB, free: 8.688 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.005053, allocations: 0 / 0.6235 GB, free: 8.688 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001379/0.005191, allocations: 8.031 kB / 0.6235 GB, free: 8.68 MB / 0.5886 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 5.708e-05/0.005248, allocations: 91.25 kB / 0.6236 GB, free: 8.582 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001165/0.005365, allocations: 39.95 kB / 0.6236 GB, free: 8.543 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.252e-06/0.005366, allocations: 0 / 0.6236 GB, free: 8.543 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 4.283e-05/0.005409, allocations: 23.92 kB / 0.6236 GB, free: 8.52 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000173/0.005582, allocations: 11.98 kB / 0.6237 GB, free: 8.508 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002085/0.00579, allocations: 138.7 kB / 0.6238 GB, free: 8.34 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.841e-05/0.005829, allocations: 55.36 kB / 0.6238 GB, free: 8.266 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.782e-05/0.005857, allocations: 12.5 kB / 0.6239 GB, free: 8.254 MB / 0.5886 GB Notification: Performance of SimCode: time 4.81e-07/0.005857, allocations: 0 / 0.6239 GB, free: 8.254 MB / 0.5886 GB Notification: Performance of Templates: time 0.001286/0.007143, allocations: 0.6718 MB / 0.6245 GB, free: 7.59 MB / 0.5886 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: 4.959027878940105] Failed to read output from testmodel.py, exit status != 0: 0.011477749794721603 0.019579499 0.015312256000000002 Calling exit ...