Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001035/0.001035, allocations: 81.95 kB / 19.87 MB, free: 4.625 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.001217/0.001217, allocations: 174 kB / 23.28 MB, free: 1.223 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.062/1.062, allocations: 177.2 MB / 203.7 MB, free: 5.512 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.8292/0.8292, allocations: 154.9 MB / 415.1 MB, free: 256 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside") translateModel(IDEAS.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.335e-06/2.335e-06, allocations: 0 / 0.5211 GB, free: 1.539 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.672e-05/1.906e-05, allocations: 4.828 kB / 0.5211 GB, free: 1.535 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothHeaviside): time 0.001871/0.00189, allocations: 1.49 MB / 0.5226 GB, free: 56 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006285/0.002518, allocations: 498.1 kB / 0.5231 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.444e-05/0.002553, allocations: 0 / 0.5231 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 2.423e-05/0.002577, allocations: 3.938 kB / 0.5231 GB, free: 15.56 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 6.398e-05/0.002641, allocations: 3.938 kB / 0.5231 GB, free: 15.56 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001794/0.00282, allocations: 32.59 kB / 0.5231 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 5.284e-05/0.002873, allocations: 19.92 kB / 0.5231 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 7.413e-05/0.002947, allocations: 9.406 kB / 0.5231 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 6.996e-05/0.003017, allocations: 15.92 kB / 0.5231 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 3.254e-05/0.00305, allocations: 8 kB / 0.5232 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.223e-05/0.003062, allocations: 4 kB / 0.5232 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 5.321e-05/0.003115, allocations: 17.31 kB / 0.5232 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 1.541e-05/0.003131, allocations: 4 kB / 0.5232 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 1.41e-05/0.003145, allocations: 11.92 kB / 0.5232 GB, free: 15.44 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 8.555e-05/0.00323, allocations: 33.45 kB / 0.5232 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.793e-06/0.003232, allocations: 0 / 0.5232 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of FrontEnd: time 8.01e-07/0.003233, allocations: 0 / 0.5232 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.136e-06/0.003236, allocations: 0 / 0.5232 GB, free: 15.41 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.0003002/0.003536, allocations: 359 kB / 0.5236 GB, free: 15.03 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/0.003573, allocations: 12.03 kB / 0.5236 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00016/0.003733, allocations: 16.92 kB / 0.5236 GB, free: 15 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.031e-05/0.003803, allocations: 116.5 kB / 0.5237 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.846e-06/0.003812, allocations: 384 / 0.5237 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.69e-06/0.003818, allocations: 384 / 0.5237 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.236e-05/0.00391, allocations: 55.5 kB / 0.5238 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.092e-06/0.003916, allocations: 192 / 0.5238 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.773e-06/0.003923, allocations: 0.9375 kB / 0.5238 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.052e-06/0.003929, allocations: 8.812 kB / 0.5238 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.126e-05/0.00395, allocations: 7.938 kB / 0.5238 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002253/0.004176, allocations: 240.4 kB / 0.524 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 4.043e-05/0.004216, allocations: 32.59 kB / 0.524 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.557e-05/0.004232, allocations: 7.688 kB / 0.524 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.785e-05/0.00425, allocations: 7.922 kB / 0.524 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.794e-05/0.004268, allocations: 38.39 kB / 0.5241 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=2): time 8.11e-07/0.004268, allocations: 0 / 0.5241 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2): time 0.0001251/0.004393, allocations: 55 kB / 0.5241 GB, free: 14.35 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.215e-05/0.004416, allocations: 51.41 kB / 0.5242 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.274e-05/0.004478, allocations: 165.9 kB / 0.5243 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 8.696e-06/0.004487, allocations: 26.83 kB / 0.5244 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.085e-05/0.004528, allocations: 130.9 kB / 0.5245 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.544e-05/0.004543, allocations: 3.953 kB / 0.5245 GB, free: 13.94 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.673e-05/0.00457, allocations: 28.05 kB / 0.5245 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001013/0.004671, allocations: 496.1 kB / 0.525 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.598e-06/0.004681, allocations: 1.281 kB / 0.525 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.147e-06/0.00469, allocations: 4 kB / 0.525 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.503e-05/0.004715, allocations: 16.12 kB / 0.525 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.004717, allocations: 0 / 0.525 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.774e-05/0.004765, allocations: 42.78 kB / 0.5251 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 9.588e-06/0.004774, allocations: 4 kB / 0.5251 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.004779, allocations: 7.188 kB / 0.5251 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.668e-06/0.004789, allocations: 0 / 0.5251 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.255e-05/0.004852, allocations: 15.98 kB / 0.5251 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.775e-06/0.004854, allocations: 0 / 0.5251 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.384e-05/0.004878, allocations: 4 kB / 0.5251 GB, free: 13.31 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.837e-06/0.004882, allocations: 0 / 0.5251 GB, free: 13.31 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.539e-05/0.004937, allocations: 152.6 kB / 0.5252 GB, free: 13.15 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.391e-05/0.004951, allocations: 7.953 kB / 0.5252 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.174e-05/0.004983, allocations: 10.28 kB / 0.5253 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-06/0.004984, allocations: 0 / 0.5253 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.723e-06/0.004986, allocations: 0 / 0.5253 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.004989, allocations: 3.984 kB / 0.5253 GB, free: 13.13 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.251e-05/0.005072, allocations: 101.3 kB / 0.5254 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.71e-07/0.005072, allocations: 0 / 0.5254 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.551e-05/0.005098, allocations: 11.92 kB / 0.5254 GB, free: 13 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.002e-06/0.005099, allocations: 1.5 kB / 0.5254 GB, free: 13 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.708e-06/0.005103, allocations: 0 / 0.5254 GB, free: 13 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-07/0.005104, allocations: 0 / 0.5254 GB, free: 13 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.005107, allocations: 7.938 kB / 0.5254 GB, free: 12.99 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.872e-05/0.005196, allocations: 184.4 kB / 0.5255 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.48e-06/0.005201, allocations: 6.375 kB / 0.5256 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.484e-06/0.005209, allocations: 0 / 0.5256 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.68e-05/0.005246, allocations: 8 kB / 0.5256 GB, free: 12.78 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.568e-05/0.005271, allocations: 7.922 kB / 0.5256 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.767e-06/0.005275, allocations: 256 / 0.5256 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.652e-05/0.005312, allocations: 131.2 kB / 0.5257 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.005312, allocations: 2.438 kB / 0.5257 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001324/0.005444, allocations: 7.953 kB / 0.5257 GB, free: 12.63 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 6.742e-05/0.005511, allocations: 95.19 kB / 0.5258 GB, free: 12.53 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 5.747e-05/0.005569, allocations: 19.67 kB / 0.5258 GB, free: 12.51 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.152e-06/0.00557, allocations: 1.875 kB / 0.5258 GB, free: 12.51 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.606e-05/0.005586, allocations: 11.69 kB / 0.5258 GB, free: 12.49 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001612/0.005747, allocations: 8 kB / 0.5258 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001866/0.005934, allocations: 111.3 kB / 0.5259 GB, free: 12.35 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.092e-05/0.005965, allocations: 59.34 kB / 0.526 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.715e-05/0.005992, allocations: 11.73 kB / 0.526 GB, free: 12.26 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.965e-05/0.006042, allocations: 74.2 kB / 0.5261 GB, free: 12.19 MB / 0.4948 GB Notification: Performance of SimCode: time 5.01e-07/0.006042, allocations: 0 / 0.5261 GB, free: 12.19 MB / 0.4948 GB Notification: Performance of Templates: time 0.001854/0.007896, allocations: 0.6576 MB / 0.5267 GB, free: 11.56 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7355021499097347]