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.0009956/0.0009956, allocations: 77.14 kB / 19.87 MB, free: 4.621 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.001066/0.001066, allocations: 173 kB / 23.28 MB, free: 1.219 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 1.084/1.084, allocations: 177.1 MB / 203.7 MB, free: 5.492 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.7981/0.7981, allocations: 154.6 MB / 414.8 MB, free: 0.5234 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 / 0.5208 GB, free: 1.859 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.403e-05/1.569e-05, allocations: 9.484 kB / 0.5208 GB, free: 1.852 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothHeaviside): time 0.002318/0.002333, allocations: 1.479 MB / 0.5222 GB, free: 392 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008073/0.003141, allocations: 495 kB / 0.5227 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.424e-05/0.003175, allocations: 0 / 0.5227 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 2.736e-05/0.003202, allocations: 3.984 kB / 0.5227 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 7.626e-05/0.003279, allocations: 11.88 kB / 0.5227 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001972/0.003476, allocations: 24.84 kB / 0.5227 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 6.333e-05/0.003539, allocations: 27.92 kB / 0.5228 GB, free: 15.83 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 7.299e-05/0.003612, allocations: 5.094 kB / 0.5228 GB, free: 15.83 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 7.362e-05/0.003686, allocations: 15.92 kB / 0.5228 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 3.542e-05/0.003721, allocations: 8 kB / 0.5228 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.362e-05/0.003735, allocations: 5.406 kB / 0.5228 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 5.992e-05/0.003795, allocations: 11.98 kB / 0.5228 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 1.657e-05/0.003811, allocations: 7.984 kB / 0.5228 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 1.615e-05/0.003827, allocations: 7.984 kB / 0.5228 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 9.22e-05/0.00392, allocations: 24.73 kB / 0.5228 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.003923, allocations: 3.984 kB / 0.5228 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of FrontEnd: time 5.21e-07/0.003923, allocations: 1.281 kB / 0.5228 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.266e-06/0.003927, allocations: 0 / 0.5228 GB, free: 15.75 MB / 0.4948 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.0003378/0.004265, allocations: 364.6 kB / 0.5232 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.153e-05/0.004306, allocations: 13.38 kB / 0.5232 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.541e-05/0.004331, allocations: 0.9375 kB / 0.5232 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.427e-05/0.004416, allocations: 120.5 kB / 0.5233 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.544e-06/0.004423, allocations: 1.156 kB / 0.5233 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.655e-06/0.004431, allocations: 4.375 kB / 0.5233 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001024/0.004533, allocations: 56.69 kB / 0.5234 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.352e-06/0.00454, allocations: 4.188 kB / 0.5234 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.271e-06/0.004546, allocations: 384 / 0.5234 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.004551, allocations: 3.938 kB / 0.5234 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.094e-05/0.004571, allocations: 0 / 0.5234 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002369/0.004808, allocations: 234.5 kB / 0.5236 GB, free: 14.87 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 4.848e-05/0.004857, allocations: 35.03 kB / 0.5236 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.663e-05/0.004874, allocations: 11.75 kB / 0.5237 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.961e-05/0.004953, allocations: 7.938 kB / 0.5237 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.467e-05/0.004978, allocations: 42.86 kB / 0.5237 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.004979, allocations: 0 / 0.5237 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2): time 0.0001228/0.005102, allocations: 49.5 kB / 0.5237 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.843e-05/0.00513, allocations: 52.38 kB / 0.5238 GB, free: 14.63 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.651e-05/0.005207, allocations: 157.9 kB / 0.5239 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.082e-05/0.005217, allocations: 25.7 kB / 0.524 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.697e-05/0.005264, allocations: 139.8 kB / 0.5241 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.534e-05/0.00528, allocations: 3.953 kB / 0.5241 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.831e-05/0.005308, allocations: 20.31 kB / 0.5241 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001338/0.005442, allocations: 492.1 kB / 0.5246 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.19e-05/0.005454, allocations: 3.984 kB / 0.5246 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.113e-05/0.005465, allocations: 4.5 kB / 0.5246 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.518e-05/0.00549, allocations: 12.38 kB / 0.5246 GB, free: 13.74 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.005492, allocations: 1.219 kB / 0.5246 GB, free: 13.74 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.398e-05/0.005556, allocations: 41.64 kB / 0.5247 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.198e-05/0.005568, allocations: 4 kB / 0.5247 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-06/0.005574, allocations: 4.531 kB / 0.5247 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.049e-05/0.005585, allocations: 9.766 kB / 0.5247 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.421e-05/0.005639, allocations: 7.984 kB / 0.5247 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.475e-06/0.005641, allocations: 0 / 0.5247 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.088e-05/0.005662, allocations: 0 / 0.5247 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.3e-06/0.005667, allocations: 4 kB / 0.5247 GB, free: 13.67 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 6.954e-05/0.005737, allocations: 158.3 kB / 0.5248 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.898e-05/0.005756, allocations: 3.953 kB / 0.5248 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.618e-05/0.005832, allocations: 52.53 kB / 0.5249 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.005834, allocations: 2.438 kB / 0.5249 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-06/0.005836, allocations: 0 / 0.5249 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.005838, allocations: 4 kB / 0.5249 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001145/0.005953, allocations: 97.5 kB / 0.525 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.005955, allocations: 7.938 kB / 0.525 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.481e-05/0.00598, allocations: 4 kB / 0.525 GB, free: 13.31 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.005981, allocations: 2.875 kB / 0.525 GB, free: 13.31 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.917e-06/0.005985, allocations: 0 / 0.525 GB, free: 13.31 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.005988, allocations: 3.984 kB / 0.525 GB, free: 13.31 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.005989, allocations: 3.938 kB / 0.525 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001058/0.006095, allocations: 184 kB / 0.5252 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.21e-06/0.0061, allocations: 0 / 0.5252 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.015e-06/0.006108, allocations: 0 / 0.5252 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.102e-05/0.006159, allocations: 12.61 kB / 0.5252 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.677e-05/0.006186, allocations: 3.938 kB / 0.5252 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.987e-06/0.00619, allocations: 5.281 kB / 0.5252 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.885e-05/0.006229, allocations: 123.2 kB / 0.5253 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.006229, allocations: 0 / 0.5253 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002209/0.00645, allocations: 19.89 kB / 0.5253 GB, free: 12.95 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.000128/0.006578, allocations: 105.9 kB / 0.5254 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 6.696e-05/0.006645, allocations: 11.69 kB / 0.5255 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.006647, allocations: 0 / 0.5255 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.352e-05/0.006671, allocations: 15.67 kB / 0.5255 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002532/0.006924, allocations: 6.75 kB / 0.5255 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002651/0.007189, allocations: 110.3 kB / 0.5256 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.173e-05/0.007231, allocations: 51.36 kB / 0.5256 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.467e-05/0.007255, allocations: 7.953 kB / 0.5256 GB, free: 12.58 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.357e-05/0.007319, allocations: 79.09 kB / 0.5257 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of SimCode: time 1.192e-06/0.00732, allocations: 0 / 0.5257 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of Templates: time 0.002495/0.009816, allocations: 0.6684 MB / 0.5264 GB, free: 11.87 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.7127379328012466]