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.0009761/0.0009761, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001659/0.001659, allocations: 177.4 kB / 23.36 MB, free: 1.125 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.9978/0.9978, allocations: 177.1 MB / 203.8 MB, free: 5.469 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-545:108: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-545:116: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.8142/0.8142, allocations: 154.6 MB / 414.8 MB, free: 0.5273 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.663e-06/1.663e-06, allocations: 0 / 480 MB, free: 6.926 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.461e-05/2.627e-05, allocations: 9.734 kB / 480 MB, free: 6.922 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothHeaviside): time 0.002773/0.002799, allocations: 1.497 MB / 481.5 MB, free: 5.441 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009074/0.003707, allocations: 0.4955 MB / 482 MB, free: 4.949 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.884e-05/0.003746, allocations: 0 / 482 MB, free: 4.949 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 3.1e-05/0.003777, allocations: 4.688 kB / 482 MB, free: 4.945 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 7.614e-05/0.003853, allocations: 2.406 kB / 482 MB, free: 4.945 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002166/0.004069, allocations: 24.69 kB / 482 MB, free: 4.922 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 7.442e-05/0.004144, allocations: 21.23 kB / 482 MB, free: 4.906 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.95e-05/0.004223, allocations: 8.656 kB / 482.1 MB, free: 4.898 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.062e-05/0.004314, allocations: 18.75 kB / 482.1 MB, free: 4.883 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.99e-05/0.004354, allocations: 8.641 kB / 482.1 MB, free: 4.875 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.533e-05/0.004369, allocations: 4 kB / 482.1 MB, free: 4.871 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.873e-05/0.004438, allocations: 17.61 kB / 482.1 MB, free: 4.855 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.629e-05/0.004454, allocations: 2.078 kB / 482.1 MB, free: 4.855 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 1.956e-05/0.004474, allocations: 8.656 kB / 482.1 MB, free: 4.848 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001095/0.004583, allocations: 37.36 kB / 482.1 MB, free: 4.812 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.004586, allocations: 3.266 kB / 482.1 MB, free: 4.812 MB / 442.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.004587, allocations: 0 / 482.1 MB, free: 4.812 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.966e-06/0.00459, allocations: 0 / 482.1 MB, free: 4.812 MB / 442.7 MB 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.0003192/0.004909, allocations: 236.8 kB / 482.4 MB, free: 4.562 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.05e-05/0.004949, allocations: 12.03 kB / 482.4 MB, free: 4.551 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.617e-05/0.004976, allocations: 0.9375 kB / 482.4 MB, free: 4.551 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.747e-05/0.005063, allocations: 110.9 kB / 482.5 MB, free: 4.418 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.167e-05/0.005075, allocations: 5.094 kB / 482.5 MB, free: 4.414 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.362e-05/0.005088, allocations: 4.375 kB / 482.5 MB, free: 4.41 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001139/0.005202, allocations: 47.86 kB / 482.6 MB, free: 4.355 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.465e-06/0.005211, allocations: 1.125 kB / 482.6 MB, free: 4.355 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.935e-06/0.005219, allocations: 5 kB / 482.6 MB, free: 4.352 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.163e-06/0.005226, allocations: 4.562 kB / 482.6 MB, free: 4.348 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.269e-05/0.005248, allocations: 7.922 kB / 482.6 MB, free: 4.34 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002057/0.005454, allocations: 152.9 kB / 482.7 MB, free: 4.176 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.753e-05/0.005502, allocations: 20.14 kB / 482.7 MB, free: 4.148 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.472e-05/0.005516, allocations: 5.406 kB / 482.7 MB, free: 4.141 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.325e-05/0.00561, allocations: 4.688 kB / 482.8 MB, free: 4.137 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.694e-05/0.005637, allocations: 39.19 kB / 482.8 MB, free: 4.09 MB / 442.7 MB Notification: Performance of pre-optimization done (n=2): time 1.493e-06/0.005638, allocations: 0 / 482.8 MB, free: 4.09 MB / 442.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001199/0.005758, allocations: 46.16 kB / 482.8 MB, free: 4.039 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.413e-05/0.005792, allocations: 57.09 kB / 482.9 MB, free: 3.973 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.402e-05/0.005856, allocations: 106.7 kB / 483 MB, free: 3.855 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.12e-05/0.005867, allocations: 27.48 kB / 483 MB, free: 3.824 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.269e-05/0.0059, allocations: 84.14 kB / 483.1 MB, free: 3.738 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.683e-05/0.005917, allocations: 3.953 kB / 483.1 MB, free: 3.734 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.304e-05/0.00595, allocations: 17.7 kB / 483.1 MB, free: 3.711 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.887e-05/0.006039, allocations: 319.5 kB / 483.4 MB, free: 3.391 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.036e-05/0.006049, allocations: 0 / 483.4 MB, free: 3.391 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.168e-05/0.006061, allocations: 5.656 kB / 483.4 MB, free: 3.387 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.069e-05/0.006091, allocations: 12.8 kB / 483.5 MB, free: 3.371 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.006093, allocations: 0.75 kB / 483.5 MB, free: 3.371 MB / 442.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.547e-05/0.006159, allocations: 42.78 kB / 483.5 MB, free: 3.324 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.196e-05/0.006171, allocations: 4 kB / 483.5 MB, free: 3.32 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.006176, allocations: 0 / 483.5 MB, free: 3.32 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.006189, allocations: 5.531 kB / 483.5 MB, free: 3.316 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.786e-05/0.006257, allocations: 8 kB / 483.5 MB, free: 3.309 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.525e-06/0.006259, allocations: 0.9688 kB / 483.5 MB, free: 3.309 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.178e-05/0.006281, allocations: 3.984 kB / 483.5 MB, free: 3.305 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.489e-06/0.006286, allocations: 0.7188 kB / 483.5 MB, free: 3.305 MB / 442.7 MB 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 6.048e-05/0.006346, allocations: 111 kB / 483.6 MB, free: 3.188 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.1e-05/0.006367, allocations: 0.6094 kB / 483.6 MB, free: 3.188 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.461e-05/0.006452, allocations: 49.66 kB / 483.7 MB, free: 3.137 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.006455, allocations: 5.562 kB / 483.7 MB, free: 3.133 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.884e-06/0.006457, allocations: 0 / 483.7 MB, free: 3.133 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.00646, allocations: 0.6875 kB / 483.7 MB, free: 3.133 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001319/0.006592, allocations: 69.88 kB / 483.8 MB, free: 3.047 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.006594, allocations: 2.156 kB / 483.8 MB, free: 3.047 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.534e-05/0.006629, allocations: 8 kB / 483.8 MB, free: 3.039 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.006631, allocations: 0 / 483.8 MB, free: 3.039 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.99e-06/0.006636, allocations: 1.031 kB / 483.8 MB, free: 3.039 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.006637, allocations: 0.9844 kB / 483.8 MB, free: 3.039 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.006639, allocations: 0 / 483.8 MB, free: 3.039 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.942e-05/0.006728, allocations: 136.3 kB / 483.9 MB, free: 2.891 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.236e-06/0.006736, allocations: 8.203 kB / 483.9 MB, free: 2.883 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.002e-05/0.006746, allocations: 1.406 kB / 483.9 MB, free: 2.883 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.816e-05/0.006805, allocations: 7.984 kB / 483.9 MB, free: 2.875 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.885e-05/0.006833, allocations: 7.938 kB / 483.9 MB, free: 2.867 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.447e-06/0.006837, allocations: 0.5938 kB / 483.9 MB, free: 2.867 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.54e-05/0.006852, allocations: 12.86 kB / 483.9 MB, free: 2.852 MB / 442.7 MB Notification: Performance of sort global known variables: time 7e-08/0.006852, allocations: 1.141 kB / 483.9 MB, free: 2.852 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002269/0.007079, allocations: 9.422 kB / 483.9 MB, free: 2.844 MB / 442.7 MB 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.0001326/0.007212, allocations: 83.27 kB / 484 MB, free: 2.754 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 5.975e-05/0.007272, allocations: 13.42 kB / 484 MB, free: 2.738 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.007275, allocations: 4.984 kB / 484 MB, free: 2.734 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 1.829e-05/0.007294, allocations: 13.61 kB / 484.1 MB, free: 2.719 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002048/0.007499, allocations: 8.766 kB / 484.1 MB, free: 2.711 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002519/0.00775, allocations: 111.5 kB / 484.2 MB, free: 2.578 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.719e-05/0.007788, allocations: 51.89 kB / 484.2 MB, free: 2.508 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.388e-05/0.007812, allocations: 4.531 kB / 484.2 MB, free: 2.504 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.37e-05/0.007865, allocations: 56.92 kB / 484.3 MB, free: 2.449 MB / 442.7 MB Notification: Performance of SimCode: time 9.12e-07/0.007866, allocations: 0 / 484.3 MB, free: 2.449 MB / 442.7 MB Notification: Performance of Templates: time 0.002592/0.01046, allocations: 0.603 MB / 484.9 MB, free: 1.883 MB / 442.7 MB " [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=240 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.689579239115119]