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.00205/0.00205, allocations: 80.22 kB / 19.18 MB, free: 2.516 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.002741/0.002741, allocations: 165.3 kB / 22.46 MB, free: 5.379 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.509/1.509, allocations: 177.2 MB / 202.8 MB, free: 9.16 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.289/1.289, allocations: 154.5 MB / 413.7 MB, free: 5.285 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.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 2.164e-06/2.164e-06, allocations: 0 / 0.6185 GB, free: 4.633 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.043e-05/3.259e-05, allocations: 10.2 kB / 0.6185 GB, free: 4.625 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothHeaviside): time 0.002815/0.002847, allocations: 1.456 MB / 0.6199 GB, free: 3.172 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0009174/0.003765, allocations: 474.8 kB / 0.6204 GB, free: 2.703 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.753e-05/0.003802, allocations: 0 / 0.6204 GB, free: 2.703 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.481e-05/0.003827, allocations: 11.88 kB / 0.6204 GB, free: 2.691 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.5e-05/0.003892, allocations: 7.938 kB / 0.6204 GB, free: 2.684 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001956/0.004088, allocations: 19.92 kB / 0.6204 GB, free: 2.664 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.679e-05/0.004154, allocations: 27.91 kB / 0.6205 GB, free: 2.637 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 8.204e-05/0.004236, allocations: 7.984 kB / 0.6205 GB, free: 2.629 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 7.198e-05/0.004308, allocations: 11.94 kB / 0.6205 GB, free: 2.617 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.151e-05/0.00435, allocations: 11.98 kB / 0.6205 GB, free: 2.605 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.445e-05/0.004364, allocations: 0 / 0.6205 GB, free: 2.605 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 6.054e-05/0.004425, allocations: 15.98 kB / 0.6205 GB, free: 2.59 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.588e-05/0.004441, allocations: 7.938 kB / 0.6205 GB, free: 2.582 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.186e-05/0.004473, allocations: 11.98 kB / 0.6205 GB, free: 2.57 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001093/0.004582, allocations: 35.83 kB / 0.6206 GB, free: 2.535 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.004586, allocations: 4 kB / 0.6206 GB, free: 2.531 MB / 0.5294 GB Notification: Performance of FrontEnd: time 5.81e-07/0.004587, allocations: 0 / 0.6206 GB, free: 2.531 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.437e-06/0.00459, allocations: 0 / 0.6206 GB, free: 2.531 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.0004504/0.005041, allocations: 270.3 kB / 0.6208 GB, free: 2.238 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/0.005081, allocations: 9.469 kB / 0.6208 GB, free: 2.23 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002675/0.005348, allocations: 24.88 kB / 0.6209 GB, free: 2.207 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001156/0.005464, allocations: 105.8 kB / 0.621 GB, free: 2.078 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.221e-05/0.005476, allocations: 384 / 0.621 GB, free: 2.078 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.127e-05/0.005487, allocations: 8.375 kB / 0.621 GB, free: 2.07 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001847/0.005672, allocations: 50.23 kB / 0.621 GB, free: 2.016 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.198e-06/0.005681, allocations: 4.125 kB / 0.621 GB, free: 2.012 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.467e-06/0.005691, allocations: 384 / 0.621 GB, free: 2.012 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.005698, allocations: 3.938 kB / 0.621 GB, free: 2.008 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001779/0.005875, allocations: 39.95 kB / 0.6211 GB, free: 1.969 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003777/0.006253, allocations: 204.5 kB / 0.6213 GB, free: 1.738 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001476/0.006401, allocations: 42.56 kB / 0.6213 GB, free: 1.688 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001068/0.006507, allocations: 24.89 kB / 0.6213 GB, free: 1.66 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.323e-05/0.006531, allocations: 4 kB / 0.6213 GB, free: 1.656 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.492e-05/0.006566, allocations: 34.5 kB / 0.6214 GB, free: 1.613 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.006567, allocations: 0 / 0.6214 GB, free: 1.613 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0003817/0.006948, allocations: 97.53 kB / 0.6215 GB, free: 1.512 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.385e-05/0.006992, allocations: 55.53 kB / 0.6215 GB, free: 1.445 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.147e-05/0.007074, allocations: 93.86 kB / 0.6216 GB, free: 1.344 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.244e-05/0.007096, allocations: 37.69 kB / 0.6216 GB, free: 1.301 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.776e-05/0.007144, allocations: 80.14 kB / 0.6217 GB, free: 1.219 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.945e-05/0.007163, allocations: 7.891 kB / 0.6217 GB, free: 1.211 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.571e-05/0.007199, allocations: 17.72 kB / 0.6217 GB, free: 1.188 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001422/0.007341, allocations: 310.8 kB / 0.622 GB, free: 0.875 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.462e-05/0.007436, allocations: 23.97 kB / 0.622 GB, free: 0.8516 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.647e-05/0.007512, allocations: 11.98 kB / 0.6221 GB, free: 0.8398 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001735/0.007686, allocations: 48.89 kB / 0.6221 GB, free: 0.7891 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.007687, allocations: 3.938 kB / 0.6221 GB, free: 0.7852 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002183/0.007906, allocations: 73.59 kB / 0.6222 GB, free: 0.707 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.007921, allocations: 7.938 kB / 0.6222 GB, free: 0.6992 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.419e-06/0.007925, allocations: 0 / 0.6222 GB, free: 0.6992 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/0.007943, allocations: 7.984 kB / 0.6222 GB, free: 0.6914 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000122/0.008065, allocations: 12.02 kB / 0.6222 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.93e-06/0.008069, allocations: 0 / 0.6222 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.193e-05/0.008141, allocations: 11.98 kB / 0.6222 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.262e-06/0.008148, allocations: 0 / 0.6222 GB, free: 0.668 MB / 0.5294 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 7.749e-05/0.008225, allocations: 106.8 kB / 0.6223 GB, free: 0.5547 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.004e-05/0.008255, allocations: 7.938 kB / 0.6223 GB, free: 0.5469 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.941e-05/0.008295, allocations: 11.27 kB / 0.6223 GB, free: 0.5312 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.462e-06/0.008296, allocations: 0 / 0.6223 GB, free: 0.5312 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.008301, allocations: 4 kB / 0.6223 GB, free: 0.5273 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.008306, allocations: 7.922 kB / 0.6224 GB, free: 0.5195 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001445/0.00845, allocations: 109.3 kB / 0.6225 GB, free: 392 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.008451, allocations: 256 / 0.6225 GB, free: 392 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.159e-05/0.008543, allocations: 11.98 kB / 0.6225 GB, free: 380 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.532e-06/0.008544, allocations: 4 kB / 0.6225 GB, free: 376 kB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.088e-05/0.008555, allocations: 3.938 kB / 0.6225 GB, free: 372 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.008556, allocations: 3.938 kB / 0.6225 GB, free: 368 kB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.008557, allocations: 0 / 0.6225 GB, free: 368 kB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002758/0.008833, allocations: 167.5 kB / 0.6226 GB, free: 184 kB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 9.769e-06/0.008843, allocations: 7.984 kB / 0.6226 GB, free: 176 kB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.458e-05/0.008857, allocations: 3.938 kB / 0.6226 GB, free: 172 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001009/0.008958, allocations: 4 kB / 0.6227 GB, free: 168 kB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.396e-05/0.008992, allocations: 7.984 kB / 0.6227 GB, free: 160 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.197e-06/0.008996, allocations: 0 / 0.6227 GB, free: 160 kB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.323e-05/0.00905, allocations: 83.28 kB / 0.6227 GB, free: 76 kB / 0.5294 GB Notification: Performance of sort global known variables: time 9.1e-08/0.00905, allocations: 0 / 0.6227 GB, free: 76 kB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002168/0.009267, allocations: 4 kB / 0.6227 GB, free: 72 kB / 0.5294 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 0.0001277/0.009394, allocations: 95.28 kB / 0.6228 GB, free: 15.96 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002414/0.009636, allocations: 47.89 kB / 0.6229 GB, free: 15.92 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.009637, allocations: 0 / 0.6229 GB, free: 15.92 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.251e-05/0.00973, allocations: 15.98 kB / 0.6229 GB, free: 15.9 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002821/0.01001, allocations: 17.28 kB / 0.6229 GB, free: 15.89 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003212/0.01033, allocations: 108.9 kB / 0.623 GB, free: 15.75 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.41e-05/0.0104, allocations: 67.34 kB / 0.6231 GB, free: 15.67 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.375e-05/0.01043, allocations: 0 / 0.6231 GB, free: 15.67 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.49e-05/0.01047, allocations: 16.44 kB / 0.6231 GB, free: 15.65 MB / 0.545 GB Notification: Performance of SimCode: time 3.2e-07/0.01047, allocations: 4 kB / 0.6231 GB, free: 15.65 MB / 0.545 GB Notification: Performance of Templates: time 0.003127/0.01359, allocations: 0.594 MB / 0.6237 GB, free: 15.07 MB / 0.545 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: 6.034753508865833] Failed to read output from testmodel.py, exit status != 0: 0.022075839340686798 0.037052277 0.029388503000000003 Calling exit ...