Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0007807/0.0007807, 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.8571/0.8571, allocations: 177.1 MB / 203.5 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7022/0.7022, allocations: 154.6 MB / 414.5 MB, free: 0.7969 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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_IDEAS.Utilities.Math.Examples.SmoothHeaviside") translateModel(IDEAS.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.472e-06/1.472e-06, allocations: 0 / 0.6193 GB, free: 13.11 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.801e-05/1.949e-05, allocations: 6.281 kB / 0.6193 GB, free: 13.11 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothHeaviside): time 0.001781/0.0018, allocations: 1.46 MB / 0.6208 GB, free: 11.63 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0006387/0.002439, allocations: 482.8 kB / 0.6212 GB, free: 11.15 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.23e-05/0.002471, allocations: 0 / 0.6212 GB, free: 11.15 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.693e-05/0.002498, allocations: 3.938 kB / 0.6212 GB, free: 11.15 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 6.091e-05/0.002559, allocations: 4 kB / 0.6212 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002095/0.002769, allocations: 15.92 kB / 0.6213 GB, free: 11.13 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 6.691e-05/0.002836, allocations: 31.86 kB / 0.6213 GB, free: 11.1 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 9.284e-05/0.002929, allocations: 7.969 kB / 0.6213 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 7.034e-05/0.002999, allocations: 16 kB / 0.6213 GB, free: 11.07 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 3.33e-05/0.003032, allocations: 7.984 kB / 0.6213 GB, free: 11.07 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.313e-05/0.003045, allocations: 4 kB / 0.6213 GB, free: 11.06 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 6.373e-05/0.003109, allocations: 19.92 kB / 0.6213 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.564e-05/0.003125, allocations: 4 kB / 0.6213 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.759e-05/0.003142, allocations: 7.938 kB / 0.6213 GB, free: 11.03 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001026/0.003245, allocations: 43.81 kB / 0.6214 GB, free: 10.99 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.664e-06/0.003247, allocations: 0 / 0.6214 GB, free: 10.99 MB / 0.5886 GB Notification: Performance of FrontEnd: time 9.92e-07/0.003248, allocations: 0 / 0.6214 GB, free: 10.99 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.287e-06/0.003251, allocations: 0 / 0.6214 GB, free: 10.99 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.0003367/0.003588, allocations: 266.3 kB / 0.6216 GB, free: 10.7 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.003625, allocations: 8.031 kB / 0.6216 GB, free: 10.69 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.975e-05/0.003655, allocations: 4.938 kB / 0.6217 GB, free: 10.69 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.04e-05/0.003736, allocations: 109.7 kB / 0.6218 GB, free: 10.55 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.028e-05/0.003746, allocations: 384 / 0.6218 GB, free: 10.55 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.808e-06/0.003756, allocations: 4.375 kB / 0.6218 GB, free: 10.55 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001242/0.00388, allocations: 54.23 kB / 0.6218 GB, free: 10.49 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.284e-06/0.003887, allocations: 192 / 0.6218 GB, free: 10.49 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.478e-06/0.003897, allocations: 384 / 0.6218 GB, free: 10.49 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.129e-06/0.003902, allocations: 3.938 kB / 0.6218 GB, free: 10.49 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.204e-05/0.003994, allocations: 39.95 kB / 0.6219 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000277/0.004271, allocations: 192.5 kB / 0.622 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 8.487e-05/0.004356, allocations: 42.53 kB / 0.6221 GB, free: 10.18 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.319e-05/0.004399, allocations: 20.91 kB / 0.6221 GB, free: 10.16 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 7.362e-05/0.004472, allocations: 7.984 kB / 0.6221 GB, free: 10.15 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.131e-05/0.004494, allocations: 38.5 kB / 0.6221 GB, free: 10.1 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.004495, allocations: 0 / 0.6221 GB, free: 10.1 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.0002106/0.004705, allocations: 81.66 kB / 0.6222 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.019e-05/0.004736, allocations: 59.33 kB / 0.6223 GB, free: 9.945 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.693e-05/0.004792, allocations: 97.86 kB / 0.6224 GB, free: 9.84 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 9.447e-06/0.004802, allocations: 29.7 kB / 0.6224 GB, free: 9.805 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.578e-05/0.004838, allocations: 80.14 kB / 0.6225 GB, free: 9.723 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.963e-05/0.004857, allocations: 15.88 kB / 0.6225 GB, free: 9.707 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.375e-05/0.004881, allocations: 13.72 kB / 0.6225 GB, free: 9.688 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.159e-05/0.004953, allocations: 310.8 kB / 0.6228 GB, free: 9.375 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.053e-05/0.004993, allocations: 24.11 kB / 0.6228 GB, free: 9.352 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.336e-05/0.005027, allocations: 11.98 kB / 0.6228 GB, free: 9.34 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.511e-05/0.005102, allocations: 44.81 kB / 0.6229 GB, free: 9.293 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.005104, allocations: 0 / 0.6229 GB, free: 9.293 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.968e-05/0.005203, allocations: 69.59 kB / 0.6229 GB, free: 9.219 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.221e-05/0.005215, allocations: 15.97 kB / 0.623 GB, free: 9.203 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.00522, allocations: 0 / 0.623 GB, free: 9.203 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.005232, allocations: 0 / 0.623 GB, free: 9.203 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.65e-05/0.005299, allocations: 8.25 kB / 0.623 GB, free: 9.195 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/0.005304, allocations: 3.984 kB / 0.623 GB, free: 9.191 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.253e-05/0.005327, allocations: 8 kB / 0.623 GB, free: 9.184 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.188e-06/0.005331, allocations: 0 / 0.623 GB, free: 9.184 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 5.525e-05/0.005386, allocations: 114.8 kB / 0.6231 GB, free: 9.062 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.34e-05/0.0054, allocations: 11.89 kB / 0.6231 GB, free: 9.051 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001279/0.005528, allocations: 76.91 kB / 0.6232 GB, free: 8.969 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.005532, allocations: 4 kB / 0.6232 GB, free: 8.965 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.005536, allocations: 0 / 0.6232 GB, free: 8.965 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.005538, allocations: 0 / 0.6232 GB, free: 8.965 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.938e-05/0.005628, allocations: 109.3 kB / 0.6233 GB, free: 8.828 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.005629, allocations: 0 / 0.6233 GB, free: 8.828 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.658e-05/0.005655, allocations: 11.94 kB / 0.6233 GB, free: 8.816 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.005658, allocations: 0 / 0.6233 GB, free: 8.816 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.715e-06/0.005665, allocations: 3.938 kB / 0.6233 GB, free: 8.812 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-07/0.005666, allocations: 4.031 kB / 0.6233 GB, free: 8.809 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.005667, allocations: 0 / 0.6233 GB, free: 8.809 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001285/0.005795, allocations: 167.5 kB / 0.6235 GB, free: 8.629 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 7.023e-06/0.005802, allocations: 7.984 kB / 0.6235 GB, free: 8.621 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.137e-05/0.005813, allocations: 3.938 kB / 0.6235 GB, free: 8.617 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.457e-05/0.005848, allocations: 4 kB / 0.6235 GB, free: 8.613 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.387e-05/0.005882, allocations: 3.984 kB / 0.6235 GB, free: 8.609 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.186e-06/0.005885, allocations: 0 / 0.6235 GB, free: 8.609 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.957e-05/0.005915, allocations: 87.31 kB / 0.6236 GB, free: 8.523 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.005915, allocations: 0 / 0.6236 GB, free: 8.523 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001466/0.006061, allocations: 8 kB / 0.6236 GB, free: 8.516 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 0.0001167/0.006178, allocations: 103.2 kB / 0.6237 GB, free: 8.406 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.00012/0.006298, allocations: 35.91 kB / 0.6237 GB, free: 8.371 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.132e-06/0.006299, allocations: 0 / 0.6237 GB, free: 8.371 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 3.969e-05/0.006339, allocations: 24.05 kB / 0.6237 GB, free: 8.348 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002011/0.00654, allocations: 11.7 kB / 0.6237 GB, free: 8.34 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002434/0.006783, allocations: 126.7 kB / 0.6239 GB, free: 8.184 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.408e-05/0.006827, allocations: 59.3 kB / 0.6239 GB, free: 8.105 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.173e-05/0.006849, allocations: 12.5 kB / 0.6239 GB, free: 8.094 MB / 0.5886 GB Notification: Performance of SimCode: time 5.21e-07/0.00685, allocations: 0 / 0.6239 GB, free: 8.094 MB / 0.5886 GB Notification: Performance of Templates: time 0.001542/0.008391, allocations: 0.6736 MB / 0.6246 GB, free: 7.426 MB / 0.5886 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.7353969709947705] Failed to read output from testmodel.py, exit status != 0: 0.012592224404215813 0.020092303000000002 0.015301666 Calling exit ...