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.001143/0.001143, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 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.001233/0.001233, allocations: 169 kB / 23.02 MB, free: 1.551 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.999/0.999, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.841/0.841, allocations: 154.6 MB / 414.5 MB, free: 0.6602 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 2.054e-06/2.054e-06, allocations: 0 / 0.5203 GB, free: 2.176 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.957e-05/3.162e-05, allocations: 5 kB / 0.5203 GB, free: 2.172 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothHeaviside): time 0.002236/0.002268, allocations: 1.482 MB / 0.5218 GB, free: 0.6992 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007664/0.003034, allocations: 0.4889 MB / 0.5222 GB, free: 212 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.032e-05/0.003075, allocations: 4.5 kB / 0.5223 GB, free: 208 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.238e-05/0.003107, allocations: 0 / 0.5223 GB, free: 208 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 7.122e-05/0.003178, allocations: 8.906 kB / 0.5223 GB, free: 200 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002519/0.00343, allocations: 23.91 kB / 0.5223 GB, free: 176 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 7.189e-05/0.003502, allocations: 21.16 kB / 0.5223 GB, free: 156 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.19e-05/0.003594, allocations: 7.984 kB / 0.5223 GB, free: 148 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.294e-05/0.003667, allocations: 15.88 kB / 0.5223 GB, free: 132 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.678e-05/0.003704, allocations: 16.59 kB / 0.5223 GB, free: 116 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.349e-05/0.003717, allocations: 1.406 kB / 0.5223 GB, free: 116 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.321e-05/0.00378, allocations: 15.98 kB / 0.5224 GB, free: 100 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.508e-05/0.003795, allocations: 4 kB / 0.5224 GB, free: 96 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.995e-05/0.003815, allocations: 11.94 kB / 0.5224 GB, free: 84 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001094/0.003925, allocations: 24.48 kB / 0.5224 GB, free: 60 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.504e-06/0.003927, allocations: 0 / 0.5224 GB, free: 60 kB / 490.7 MB Notification: Performance of FrontEnd: time 8.41e-07/0.003928, allocations: 0.75 kB / 0.5224 GB, free: 60 kB / 490.7 MB Notification: Performance of Transformations before backend: time 4.729e-06/0.003933, allocations: 0 / 0.5224 GB, free: 60 kB / 490.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.0003563/0.004289, allocations: 365.7 kB / 0.5227 GB, free: 15.67 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/0.004328, allocations: 8.031 kB / 0.5228 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.504e-05/0.004363, allocations: 5.906 kB / 0.5228 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001035/0.004467, allocations: 120.6 kB / 0.5229 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.212e-05/0.004479, allocations: 384 / 0.5229 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.368e-05/0.004492, allocations: 5.344 kB / 0.5229 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001494/0.004642, allocations: 50.95 kB / 0.5229 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.004653, allocations: 0.8438 kB / 0.5229 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.888e-06/0.004662, allocations: 384 / 0.5229 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.019e-05/0.004673, allocations: 4.656 kB / 0.5229 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.832e-05/0.004711, allocations: 11.98 kB / 0.5229 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003438/0.005055, allocations: 244.5 kB / 0.5232 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 6.249e-05/0.005117, allocations: 43.91 kB / 0.5232 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.222e-05/0.005139, allocations: 11.75 kB / 0.5232 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001367/0.005276, allocations: 4 kB / 0.5232 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.444e-05/0.005301, allocations: 40.11 kB / 0.5233 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=2): time 1.303e-06/0.005302, allocations: 0 / 0.5233 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2): time 0.0001466/0.005448, allocations: 45.69 kB / 0.5233 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.889e-05/0.005477, allocations: 55.34 kB / 0.5234 GB, free: 14.92 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.2e-05/0.005549, allocations: 161.9 kB / 0.5235 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.004e-05/0.005559, allocations: 25.7 kB / 0.5236 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.549e-05/0.005605, allocations: 132.1 kB / 0.5237 GB, free: 14.58 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.757e-05/0.005622, allocations: 3.953 kB / 0.5237 GB, free: 14.58 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.85e-05/0.005651, allocations: 23.38 kB / 0.5237 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001131/0.005764, allocations: 492.1 kB / 0.5242 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.233e-05/0.005776, allocations: 0.5625 kB / 0.5242 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.193e-05/0.005788, allocations: 8.547 kB / 0.5242 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.742e-05/0.005816, allocations: 16.62 kB / 0.5242 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.005818, allocations: 0 / 0.5242 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.607e-05/0.005874, allocations: 35.05 kB / 0.5242 GB, free: 13.99 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.005889, allocations: 17.12 kB / 0.5242 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.005894, allocations: 0 / 0.5242 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.005907, allocations: 0.5312 kB / 0.5242 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.262e-05/0.00598, allocations: 9.391 kB / 0.5243 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.922e-06/0.005986, allocations: 0 / 0.5243 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.778e-05/0.006004, allocations: 4 kB / 0.5243 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.568e-06/0.006008, allocations: 0 / 0.5243 GB, free: 13.96 MB / 0.4948 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.785e-05/0.006066, allocations: 157.2 kB / 0.5244 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.788e-05/0.006084, allocations: 13.02 kB / 0.5244 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.904e-05/0.006173, allocations: 52.58 kB / 0.5245 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.006175, allocations: 2.75 kB / 0.5245 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.006178, allocations: 0 / 0.5245 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.006181, allocations: 0 / 0.5245 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.961e-05/0.00627, allocations: 112.6 kB / 0.5246 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.006272, allocations: 256 / 0.5246 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.707e-05/0.006299, allocations: 15.92 kB / 0.5246 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.006302, allocations: 4 kB / 0.5246 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.506e-06/0.006311, allocations: 7.938 kB / 0.5246 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.12e-07/0.006312, allocations: 6.469 kB / 0.5246 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.006312, allocations: 0 / 0.5246 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.327e-05/0.006396, allocations: 176 kB / 0.5248 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.071e-06/0.006402, allocations: 7.984 kB / 0.5248 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.228e-06/0.006411, allocations: 3.938 kB / 0.5248 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.111e-05/0.006442, allocations: 8 kB / 0.5248 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.971e-05/0.006472, allocations: 0.5625 kB / 0.5248 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.004e-06/0.006474, allocations: 1.094 kB / 0.5248 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.506e-05/0.006509, allocations: 127.2 kB / 0.5249 GB, free: 13.22 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.006509, allocations: 0 / 0.5249 GB, free: 13.22 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001484/0.006657, allocations: 16.55 kB / 0.5249 GB, free: 13.21 MB / 0.4948 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.0001143/0.006771, allocations: 94.69 kB / 0.525 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 7.039e-05/0.006842, allocations: 27.61 kB / 0.5251 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.006843, allocations: 0 / 0.5251 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.706e-05/0.00686, allocations: 11.69 kB / 0.5251 GB, free: 13.06 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001873/0.007048, allocations: 7.172 kB / 0.5251 GB, free: 13.06 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002458/0.007293, allocations: 113 kB / 0.5252 GB, free: 12.92 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.259e-05/0.007326, allocations: 51.36 kB / 0.5252 GB, free: 12.85 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.854e-05/0.007345, allocations: 11.94 kB / 0.5252 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.293e-05/0.007367, allocations: 8.5 kB / 0.5253 GB, free: 12.83 MB / 0.4948 GB Notification: Performance of SimCode: time 4.91e-07/0.007368, allocations: 0 / 0.5253 GB, free: 12.83 MB / 0.4948 GB Notification: Performance of Templates: time 0.002278/0.009646, allocations: 0.6224 MB / 0.5259 GB, free: 12.24 MB / 0.4948 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=240 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.021100426092744]