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.001126/0.001126, allocations: 73.09 kB / 20.65 MB, free: 3.844 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.001316/0.001316, allocations: 169 kB / 24.06 MB, free: 452 kB / 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.012/1.012, allocations: 177.1 MB / 204.5 MB, free: 5.48 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.8522/0.8522, allocations: 154.9 MB / 415.9 MB, free: 264 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 1.272e-06/1.272e-06, allocations: 0 / 0.5219 GB, free: 1.539 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.172e-05/1.299e-05, allocations: 2.312 kB / 0.5219 GB, free: 1.535 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothHeaviside): time 0.001866/0.001879, allocations: 1.493 MB / 0.5233 GB, free: 52 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006338/0.002512, allocations: 499.5 kB / 0.5238 GB, free: 15.56 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.767e-05/0.00255, allocations: 0.9688 kB / 0.5238 GB, free: 15.56 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 2.546e-05/0.002575, allocations: 7.922 kB / 0.5238 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 6.398e-05/0.002639, allocations: 5.75 kB / 0.5238 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001765/0.002816, allocations: 23.86 kB / 0.5239 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 5.807e-05/0.002874, allocations: 27.86 kB / 0.5239 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 7.361e-05/0.002948, allocations: 4 kB / 0.5239 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 6.607e-05/0.003014, allocations: 15.97 kB / 0.5239 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 3.211e-05/0.003046, allocations: 8.562 kB / 0.5239 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.264e-05/0.003058, allocations: 4.5 kB / 0.5239 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 5.292e-05/0.003111, allocations: 16.95 kB / 0.5239 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 1.516e-05/0.003127, allocations: 4 kB / 0.5239 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 1.416e-05/0.003141, allocations: 7.984 kB / 0.5239 GB, free: 15.44 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 8.349e-05/0.003224, allocations: 25.19 kB / 0.524 GB, free: 15.42 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.003227, allocations: 3.984 kB / 0.524 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of FrontEnd: time 6.21e-07/0.003228, allocations: 0 / 0.524 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.466e-06/0.003231, allocations: 4.562 kB / 0.524 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.0002824/0.003513, allocations: 360.6 kB / 0.5243 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 0.000103/0.003616, allocations: 17.59 kB / 0.5243 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001666/0.003783, allocations: 12.92 kB / 0.5244 GB, free: 15 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.402e-05/0.003857, allocations: 120.5 kB / 0.5245 GB, free: 14.85 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.917e-06/0.003866, allocations: 384 / 0.5245 GB, free: 14.85 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.392e-06/0.003872, allocations: 1.406 kB / 0.5245 GB, free: 14.85 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.552e-05/0.003958, allocations: 54.95 kB / 0.5245 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.34e-06/0.003963, allocations: 1.062 kB / 0.5245 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.346e-06/0.003972, allocations: 4.359 kB / 0.5245 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.003976, allocations: 7.938 kB / 0.5245 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.266e-05/0.003999, allocations: 9.203 kB / 0.5245 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002235/0.004222, allocations: 236.4 kB / 0.5248 GB, free: 14.51 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 4.463e-05/0.004267, allocations: 31.84 kB / 0.5248 GB, free: 14.47 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.473e-05/0.004281, allocations: 7.688 kB / 0.5248 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.206e-05/0.004294, allocations: 0.5312 kB / 0.5248 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.886e-05/0.004312, allocations: 46.31 kB / 0.5249 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=2): time 6.11e-07/0.004313, allocations: 0 / 0.5249 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2): time 0.0001244/0.004437, allocations: 46.17 kB / 0.5249 GB, free: 14.35 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.619e-05/0.004464, allocations: 51.41 kB / 0.5249 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.911e-05/0.004523, allocations: 166.4 kB / 0.5251 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 8.987e-06/0.004532, allocations: 26.55 kB / 0.5251 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 3.671e-05/0.004568, allocations: 134.9 kB / 0.5253 GB, free: 13.94 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.546e-05/0.004584, allocations: 7.016 kB / 0.5253 GB, free: 13.94 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.412e-05/0.004608, allocations: 23.36 kB / 0.5253 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000104/0.004712, allocations: 496.1 kB / 0.5258 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.04e-05/0.004722, allocations: 0 / 0.5258 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.729e-06/0.004732, allocations: 4 kB / 0.5258 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.36e-05/0.004756, allocations: 11.69 kB / 0.5258 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.004757, allocations: 0 / 0.5258 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.323e-05/0.00481, allocations: 50.62 kB / 0.5258 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.094e-05/0.004821, allocations: 4 kB / 0.5258 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.004826, allocations: 4.438 kB / 0.5258 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.104e-06/0.004833, allocations: 0 / 0.5258 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.983e-05/0.004893, allocations: 8.562 kB / 0.5258 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.344e-06/0.004895, allocations: 4.875 kB / 0.5258 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.6e-05/0.004921, allocations: 7.984 kB / 0.5259 GB, free: 13.31 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.817e-06/0.004925, allocations: 1.594 kB / 0.5259 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.436e-05/0.004979, allocations: 152.6 kB / 0.526 GB, free: 13.15 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.696e-05/0.004996, allocations: 7.953 kB / 0.526 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.995e-05/0.005026, allocations: 12.22 kB / 0.526 GB, free: 13.13 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.005028, allocations: 0 / 0.526 GB, free: 13.13 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.392e-06/0.005029, allocations: 0 / 0.526 GB, free: 13.13 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.005032, allocations: 1.375 kB / 0.526 GB, free: 13.13 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.546e-05/0.005117, allocations: 105.2 kB / 0.5261 GB, free: 13 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-07/0.005118, allocations: 0 / 0.5261 GB, free: 13 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.826e-05/0.005146, allocations: 10.73 kB / 0.5261 GB, free: 12.99 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.272e-06/0.005147, allocations: 0 / 0.5261 GB, free: 12.99 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.499e-06/0.005152, allocations: 0 / 0.5261 GB, free: 12.99 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/0.005154, allocations: 3.938 kB / 0.5261 GB, free: 12.99 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.055e-06/0.005157, allocations: 7.938 kB / 0.5261 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.868e-05/0.005245, allocations: 180 kB / 0.5263 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.414e-06/0.005253, allocations: 7.984 kB / 0.5263 GB, free: 12.78 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.075e-06/0.005261, allocations: 2.281 kB / 0.5263 GB, free: 12.78 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.784e-05/0.005299, allocations: 4 kB / 0.5263 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.451e-05/0.005323, allocations: 3.938 kB / 0.5263 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.516e-06/0.005327, allocations: 3.984 kB / 0.5263 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.428e-05/0.005361, allocations: 127.4 kB / 0.5265 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.005361, allocations: 0 / 0.5265 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001368/0.005498, allocations: 8.734 kB / 0.5265 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.167e-05/0.00556, allocations: 94.64 kB / 0.5266 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 6.3e-05/0.005623, allocations: 28.27 kB / 0.5266 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.41e-07/0.005623, allocations: 0 / 0.5266 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.712e-05/0.005641, allocations: 15.12 kB / 0.5266 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.0001798/0.00582, allocations: 4 kB / 0.5266 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001949/0.006015, allocations: 114.3 kB / 0.5267 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.922e-05/0.006044, allocations: 59.34 kB / 0.5268 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.72e-05/0.006072, allocations: 10.89 kB / 0.5268 GB, free: 12.26 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.887e-05/0.006121, allocations: 70.2 kB / 0.5268 GB, free: 12.19 MB / 0.4948 GB Notification: Performance of SimCode: time 5.71e-07/0.006121, allocations: 0 / 0.5268 GB, free: 12.19 MB / 0.4948 GB Notification: Performance of Templates: time 0.001966/0.008087, allocations: 0.6673 MB / 0.5275 GB, free: 11.55 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.816725538112223]