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.001798/0.001798, allocations: 88.06 kB / 19.44 MB, free: 324 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.002011/0.002011, allocations: 161.7 kB / 22.76 MB, free: 1.648 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.557/1.557, allocations: 177.1 MB / 203.1 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] 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 1.335/1.335, allocations: 154.8 MB / 414.4 MB, free: 452 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 178] 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.845e-06/2.845e-06, allocations: 0 / 0.5199 GB, free: 2.289 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 5.505e-05/5.79e-05, allocations: 3.859 kB / 0.5199 GB, free: 2.285 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothHeaviside): time 0.004911/0.004969, allocations: 1.467 MB / 0.5213 GB, free: 0.8242 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002022/0.00699, allocations: 496.3 kB / 0.5218 GB, free: 344 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.025e-05/0.007051, allocations: 0 / 0.5218 GB, free: 344 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 4.525e-05/0.007096, allocations: 5.281 kB / 0.5218 GB, free: 340 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001424/0.007238, allocations: 3.938 kB / 0.5218 GB, free: 336 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004313/0.00767, allocations: 20.83 kB / 0.5218 GB, free: 316 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001469/0.007817, allocations: 31.84 kB / 0.5218 GB, free: 284 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001822/0.007999, allocations: 4.75 kB / 0.5218 GB, free: 280 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001585/0.008157, allocations: 11.98 kB / 0.5218 GB, free: 268 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.282e-05/0.00824, allocations: 12.73 kB / 0.5219 GB, free: 256 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.666e-05/0.008267, allocations: 3.938 kB / 0.5219 GB, free: 252 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001392/0.008406, allocations: 24.7 kB / 0.5219 GB, free: 228 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.847e-05/0.008434, allocations: 4 kB / 0.5219 GB, free: 224 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 3.121e-05/0.008466, allocations: 3.984 kB / 0.5219 GB, free: 220 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001892/0.008655, allocations: 34.23 kB / 0.5219 GB, free: 188 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.00866, allocations: 3.938 kB / 0.5219 GB, free: 184 kB / 490.7 MB Notification: Performance of FrontEnd: time 1.764e-06/0.008661, allocations: 0 / 0.5219 GB, free: 184 kB / 490.7 MB Notification: Performance of Transformations before backend: time 6.592e-06/0.008668, allocations: 0 / 0.5219 GB, free: 184 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.0007788/0.009447, allocations: 364.2 kB / 0.5223 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 6.589e-05/0.009513, allocations: 13 kB / 0.5223 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004182/0.009931, allocations: 16.91 kB / 0.5223 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001685/0.0101, allocations: 108.6 kB / 0.5224 GB, free: 15.63 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.385e-05/0.01011, allocations: 1.75 kB / 0.5224 GB, free: 15.63 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.241e-05/0.01013, allocations: 384 / 0.5224 GB, free: 15.63 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002228/0.01035, allocations: 54.17 kB / 0.5225 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.01036, allocations: 0.875 kB / 0.5225 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.454e-05/0.01037, allocations: 384 / 0.5225 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.035e-05/0.01038, allocations: 4.75 kB / 0.5225 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002251/0.01061, allocations: 27.98 kB / 0.5225 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006824/0.01129, allocations: 260.7 kB / 0.5227 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002223/0.01151, allocations: 47.64 kB / 0.5228 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001347/0.01165, allocations: 24.59 kB / 0.5228 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.812e-05/0.01168, allocations: 0 / 0.5228 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.573e-05/0.01173, allocations: 41.31 kB / 0.5228 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=2): time 1.313e-06/0.01173, allocations: 0.5938 kB / 0.5228 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2): time 0.0004983/0.01223, allocations: 70.92 kB / 0.5229 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.956e-05/0.0123, allocations: 55.41 kB / 0.523 GB, free: 14.97 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001818/0.01248, allocations: 162.8 kB / 0.5231 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.884e-05/0.01251, allocations: 25.7 kB / 0.5231 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001353/0.01265, allocations: 135.9 kB / 0.5233 GB, free: 14.63 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.255e-05/0.01268, allocations: 11.94 kB / 0.5233 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.021e-05/0.01275, allocations: 19.38 kB / 0.5233 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003767/0.01313, allocations: 497.8 kB / 0.5238 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001161/0.01324, allocations: 15.98 kB / 0.5238 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.391e-05/0.01334, allocations: 12 kB / 0.5238 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00022/0.01356, allocations: 37.42 kB / 0.5238 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.01356, allocations: 256 / 0.5238 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002831/0.01384, allocations: 62.42 kB / 0.5239 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.764e-05/0.01387, allocations: 10.59 kB / 0.5239 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/0.01388, allocations: 5.406 kB / 0.5239 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.395e-05/0.01391, allocations: 7.938 kB / 0.5239 GB, free: 13.94 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001622/0.01407, allocations: 7.984 kB / 0.5239 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/0.01408, allocations: 3.938 kB / 0.5239 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.641e-05/0.01417, allocations: 5.031 kB / 0.5239 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.568e-06/0.01418, allocations: 0 / 0.5239 GB, free: 13.93 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 0.0001908/0.01437, allocations: 157.7 kB / 0.5241 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.418e-05/0.01443, allocations: 7.891 kB / 0.5241 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.208e-05/0.01449, allocations: 10.47 kB / 0.5241 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.427e-06/0.0145, allocations: 3.984 kB / 0.5241 GB, free: 13.74 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.0145, allocations: 4 kB / 0.5241 GB, free: 13.74 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.01451, allocations: 0 / 0.5241 GB, free: 13.74 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002634/0.01477, allocations: 112.6 kB / 0.5242 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.01477, allocations: 0 / 0.5242 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000125/0.0149, allocations: 11.98 kB / 0.5242 GB, free: 13.58 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.237e-06/0.01491, allocations: 3.984 kB / 0.5242 GB, free: 13.58 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.91e-05/0.01493, allocations: 6.969 kB / 0.5242 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.01493, allocations: 0 / 0.5242 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.01493, allocations: 0 / 0.5242 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004416/0.01537, allocations: 211.9 kB / 0.5245 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.002e-05/0.01538, allocations: 0 / 0.5245 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.656e-05/0.01541, allocations: 7.938 kB / 0.5245 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001439/0.01555, allocations: 0 / 0.5245 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.188e-05/0.01561, allocations: 9.484 kB / 0.5245 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.003e-06/0.01562, allocations: 0 / 0.5245 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001154/0.01574, allocations: 127.2 kB / 0.5246 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.6e-07/0.01574, allocations: 0 / 0.5246 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003935/0.01613, allocations: 5.406 kB / 0.5246 GB, free: 13.2 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.000216/0.01634, allocations: 91.25 kB / 0.5247 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002494/0.01659, allocations: 44.94 kB / 0.5247 GB, free: 13.06 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.0166, allocations: 0 / 0.5247 GB, free: 13.06 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001039/0.0167, allocations: 32.27 kB / 0.5248 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003419/0.01704, allocations: 4.625 kB / 0.5248 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004092/0.01745, allocations: 114.8 kB / 0.5249 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.529e-05/0.01755, allocations: 66.25 kB / 0.5249 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 5.57e-05/0.0176, allocations: 6.375 kB / 0.5249 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.062e-05/0.01765, allocations: 12.5 kB / 0.525 GB, free: 12.78 MB / 0.4948 GB Notification: Performance of SimCode: time 6.41e-07/0.01765, allocations: 0 / 0.525 GB, free: 12.78 MB / 0.4948 GB Notification: Performance of Templates: time 0.003634/0.02129, allocations: 0.6095 MB / 0.5255 GB, free: 12.2 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: 5.990267584100366]