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.0009653/0.0009653, allocations: 92.2 kB / 20.19 MB, free: 4.355 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.0009665/0.0009665, allocations: 173 kB / 23.49 MB, free: 1.051 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.9913/0.9913, allocations: 177.1 MB / 203.8 MB, free: 5.621 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.8251/0.8251, allocations: 154.6 MB / 414.9 MB, free: 0.6797 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.725e-06/2.725e-06, allocations: 3.984 kB / 0.5203 GB, free: 2.508 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.512e-05/2.784e-05, allocations: 3.859 kB / 0.5203 GB, free: 2.504 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothHeaviside): time 0.002024/0.002052, allocations: 1.49 MB / 0.5218 GB, free: 1.023 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006995/0.002752, allocations: 495.7 kB / 0.5223 GB, free: 0.5352 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.335e-05/0.002795, allocations: 4.969 kB / 0.5223 GB, free: 0.5312 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.756e-05/0.002823, allocations: 0 / 0.5223 GB, free: 0.5312 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 7.291e-05/0.002896, allocations: 4.469 kB / 0.5223 GB, free: 0.5273 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002452/0.003141, allocations: 25.28 kB / 0.5223 GB, free: 0.5039 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 9.165e-05/0.003232, allocations: 27.86 kB / 0.5223 GB, free: 488 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001018/0.003334, allocations: 7.984 kB / 0.5223 GB, free: 480 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001086/0.003443, allocations: 11.94 kB / 0.5223 GB, free: 468 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.026e-05/0.003483, allocations: 12.92 kB / 0.5224 GB, free: 456 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.582e-05/0.003499, allocations: 0 / 0.5224 GB, free: 456 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.114e-05/0.00358, allocations: 25.44 kB / 0.5224 GB, free: 432 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.687e-05/0.003597, allocations: 4 kB / 0.5224 GB, free: 428 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.285e-05/0.00362, allocations: 4 kB / 0.5224 GB, free: 424 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001355/0.003755, allocations: 23.97 kB / 0.5224 GB, free: 400 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.00376, allocations: 4.969 kB / 0.5224 GB, free: 396 kB / 490.7 MB Notification: Performance of FrontEnd: time 2.585e-06/0.003762, allocations: 0 / 0.5224 GB, free: 396 kB / 490.7 MB Notification: Performance of Transformations before backend: time 6.111e-06/0.003768, allocations: 0 / 0.5224 GB, free: 396 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.0005099/0.004278, allocations: 361.3 kB / 0.5228 GB, free: 16 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.577e-05/0.004334, allocations: 12.02 kB / 0.5228 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.192e-05/0.004386, allocations: 6.219 kB / 0.5228 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001243/0.00451, allocations: 120.5 kB / 0.5229 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.358e-05/0.004524, allocations: 384 / 0.5229 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.123e-05/0.004535, allocations: 4.938 kB / 0.5229 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001578/0.004693, allocations: 51.92 kB / 0.523 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.0047, allocations: 192 / 0.523 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.07e-05/0.004711, allocations: 384 / 0.523 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.012e-05/0.004721, allocations: 4.438 kB / 0.523 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.998e-05/0.004761, allocations: 11.98 kB / 0.523 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000344/0.005105, allocations: 244.6 kB / 0.5232 GB, free: 15.49 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 7.044e-05/0.005176, allocations: 37.06 kB / 0.5232 GB, free: 15.44 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.022e-05/0.005206, allocations: 15.73 kB / 0.5233 GB, free: 15.42 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001137/0.00532, allocations: 4 kB / 0.5233 GB, free: 15.42 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.024e-05/0.00535, allocations: 41.33 kB / 0.5233 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=2): time 1.413e-06/0.005351, allocations: 0 / 0.5233 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2): time 0.0001902/0.005541, allocations: 46.84 kB / 0.5233 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.883e-05/0.00558, allocations: 55.34 kB / 0.5234 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001009/0.005681, allocations: 159.4 kB / 0.5235 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.282e-05/0.005694, allocations: 25.7 kB / 0.5236 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.142e-05/0.005755, allocations: 134.9 kB / 0.5237 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.184e-05/0.005777, allocations: 3.953 kB / 0.5237 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.867e-05/0.005816, allocations: 24.88 kB / 0.5237 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001522/0.005968, allocations: 492.1 kB / 0.5242 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.01e-05/0.005988, allocations: 0 / 0.5242 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.497e-05/0.006003, allocations: 4 kB / 0.5242 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.092e-05/0.006044, allocations: 21.2 kB / 0.5242 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.006047, allocations: 0 / 0.5242 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.385e-05/0.006131, allocations: 33.7 kB / 0.5243 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.006148, allocations: 12.81 kB / 0.5243 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.006153, allocations: 4 kB / 0.5243 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.792e-05/0.006171, allocations: 4.562 kB / 0.5243 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.656e-05/0.006258, allocations: 7.984 kB / 0.5243 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.006264, allocations: 0.5 kB / 0.5243 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.537e-05/0.006289, allocations: 6.625 kB / 0.5243 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.5e-06/0.006294, allocations: 0 / 0.5243 GB, free: 14.29 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 8.307e-05/0.006377, allocations: 156.6 kB / 0.5244 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.955e-05/0.006407, allocations: 11.89 kB / 0.5244 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001132/0.00652, allocations: 48.59 kB / 0.5245 GB, free: 14.06 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.006522, allocations: 0 / 0.5245 GB, free: 14.06 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.006525, allocations: 2.438 kB / 0.5245 GB, free: 14.06 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.006528, allocations: 0 / 0.5245 GB, free: 14.06 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001381/0.006666, allocations: 116.6 kB / 0.5246 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.006669, allocations: 0 / 0.5246 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.364e-05/0.006712, allocations: 7.938 kB / 0.5246 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.006715, allocations: 0 / 0.5246 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.371e-05/0.006729, allocations: 17.55 kB / 0.5246 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.00673, allocations: 0 / 0.5246 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.006731, allocations: 0 / 0.5246 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001288/0.00686, allocations: 176 kB / 0.5248 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.809e-06/0.006869, allocations: 5.281 kB / 0.5248 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.493e-05/0.006884, allocations: 7.922 kB / 0.5248 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.367e-05/0.006948, allocations: 12 kB / 0.5248 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.076e-05/0.006989, allocations: 0.9688 kB / 0.5248 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.586e-06/0.006992, allocations: 0 / 0.5248 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 5.196e-05/0.007044, allocations: 130.4 kB / 0.5249 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1e-07/0.007044, allocations: 0 / 0.5249 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002831/0.007328, allocations: 15.89 kB / 0.525 GB, free: 13.54 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.0001594/0.007487, allocations: 91.25 kB / 0.525 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 9.973e-05/0.007587, allocations: 23.62 kB / 0.5251 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.007589, allocations: 0 / 0.5251 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.556e-05/0.007614, allocations: 18.7 kB / 0.5251 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003036/0.007918, allocations: 4 kB / 0.5251 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003273/0.008245, allocations: 110.3 kB / 0.5252 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.201e-05/0.008287, allocations: 51.36 kB / 0.5252 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.775e-05/0.008315, allocations: 11.89 kB / 0.5253 GB, free: 13.17 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.737e-05/0.008342, allocations: 9.906 kB / 0.5253 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of SimCode: time 8.61e-07/0.008343, allocations: 0 / 0.5253 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of Templates: time 0.002474/0.01082, allocations: 0.6295 MB / 0.5259 GB, free: 12.57 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: 3.89131255610846]