Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep.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.0009843/0.0009843, allocations: 86.05 kB / 19.87 MB, free: 4.605 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.001091/0.001091, allocations: 169.7 kB / 23.27 MB, free: 1.211 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.046/1.046, 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 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.7974/0.7974, 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.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep") translateModel(IDEAS.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.944e-06/1.944e-06, allocations: 0 / 0.5212 GB, free: 1.48 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.703e-05/1.898e-05, allocations: 5.812 kB / 0.5212 GB, free: 1.477 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegStep): time 0.001229/0.001248, allocations: 0.5971 MB / 0.5218 GB, free: 0.9023 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002732/0.001521, allocations: 48.78 kB / 0.5218 GB, free: 0.8555 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.183e-05/0.001543, allocations: 1.062 kB / 0.5218 GB, free: 0.8555 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.813e-05/0.001561, allocations: 0 / 0.5218 GB, free: 0.8555 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.903e-06/0.001568, allocations: 0.6875 kB / 0.5218 GB, free: 0.8555 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002523/0.001821, allocations: 16.69 kB / 0.5218 GB, free: 0.8398 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 4.409e-05/0.001865, allocations: 9.266 kB / 0.5218 GB, free: 0.832 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.459e-05/0.001899, allocations: 0 / 0.5218 GB, free: 0.832 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.69e-05/0.001926, allocations: 0.9844 kB / 0.5218 GB, free: 0.832 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.16e-05/0.001948, allocations: 0.5625 kB / 0.5218 GB, free: 0.832 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.04e-05/0.001958, allocations: 1.031 kB / 0.5218 GB, free: 0.832 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.53e-05/0.002043, allocations: 23.97 kB / 0.5219 GB, free: 0.8086 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.031e-05/0.002054, allocations: 0 / 0.5219 GB, free: 0.8086 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.029e-05/0.002064, allocations: 1.156 kB / 0.5219 GB, free: 0.8086 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 6.513e-05/0.002129, allocations: 19.92 kB / 0.5219 GB, free: 0.7891 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.483e-06/0.002131, allocations: 0.625 kB / 0.5219 GB, free: 0.7891 MB / 490.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.002131, allocations: 2.031 kB / 0.5219 GB, free: 0.7891 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.496e-06/0.002135, allocations: 0.7656 kB / 0.5219 GB, free: 0.7891 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002084/0.002343, allocations: 344.4 kB / 0.5222 GB, free: 424 kB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.647e-05/0.00238, allocations: 12.03 kB / 0.5222 GB, free: 412 kB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001554/0.002535, allocations: 18.22 kB / 0.5222 GB, free: 396 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.618e-05/0.002591, allocations: 104.6 kB / 0.5223 GB, free: 264 kB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.464e-06/0.002599, allocations: 384 / 0.5223 GB, free: 264 kB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.699e-06/0.002604, allocations: 4.312 kB / 0.5224 GB, free: 260 kB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.53e-05/0.002679, allocations: 48.42 kB / 0.5224 GB, free: 204 kB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.243e-06/0.002686, allocations: 4.125 kB / 0.5224 GB, free: 200 kB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.509e-06/0.002691, allocations: 384 / 0.5224 GB, free: 200 kB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.002696, allocations: 1.344 kB / 0.5224 GB, free: 200 kB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.496e-05/0.00271, allocations: 7.938 kB / 0.5224 GB, free: 192 kB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.829e-05/0.002789, allocations: 90.23 kB / 0.5225 GB, free: 76 kB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 2.866e-05/0.002817, allocations: 31.09 kB / 0.5225 GB, free: 32 kB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.212e-05/0.00283, allocations: 9.188 kB / 0.5225 GB, free: 20 kB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.427e-05/0.002844, allocations: 0 / 0.5225 GB, free: 20 kB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.271e-05/0.002877, allocations: 45.44 kB / 0.5226 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=1): time 7.82e-07/0.002877, allocations: 0 / 0.5226 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1): time 8.521e-05/0.002963, allocations: 35.17 kB / 0.5226 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.028e-05/0.002983, allocations: 51.41 kB / 0.5227 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.547e-05/0.003018, allocations: 143.3 kB / 0.5228 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 9.428e-06/0.003028, allocations: 25.7 kB / 0.5228 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 3.039e-05/0.003058, allocations: 130.9 kB / 0.5229 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.754e-05/0.003076, allocations: 4.562 kB / 0.523 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.091e-05/0.003097, allocations: 23.36 kB / 0.523 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001096/0.003206, allocations: 0.4898 MB / 0.5235 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.356e-06/0.003214, allocations: 0 / 0.5235 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.091e-06/0.003221, allocations: 0 / 0.5235 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.042e-05/0.003251, allocations: 17.44 kB / 0.5235 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.003252, allocations: 0 / 0.5235 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.023e-05/0.003292, allocations: 29.7 kB / 0.5235 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 8.716e-06/0.003301, allocations: 5.031 kB / 0.5235 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.928e-06/0.003305, allocations: 7.984 kB / 0.5235 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.059e-05/0.003316, allocations: 0 / 0.5235 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.215e-05/0.003358, allocations: 0.9375 kB / 0.5235 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.124e-06/0.00336, allocations: 0 / 0.5235 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.241e-05/0.003372, allocations: 7.25 kB / 0.5235 GB, free: 14.94 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.626e-06/0.003376, allocations: 0 / 0.5235 GB, free: 14.94 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 (1): * Single equations (assignments): 1 * 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.708e-05/0.003433, allocations: 160.5 kB / 0.5237 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.078e-06/0.003437, allocations: 352 / 0.5237 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.075e-05/0.003458, allocations: 7 kB / 0.5237 GB, free: 14.76 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.00346, allocations: 3.984 kB / 0.5237 GB, free: 14.76 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.283e-06/0.003461, allocations: 3.938 kB / 0.5237 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.953e-06/0.003463, allocations: 0 / 0.5237 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.719e-05/0.00351, allocations: 100.2 kB / 0.5238 GB, free: 14.63 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.91e-07/0.003511, allocations: 3.938 kB / 0.5238 GB, free: 14.63 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.151e-05/0.003522, allocations: 4 kB / 0.5238 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.352e-06/0.003523, allocations: 0 / 0.5238 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.126e-06/0.003527, allocations: 0 / 0.5238 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.31e-07/0.003527, allocations: 0 / 0.5238 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.003528, allocations: 0 / 0.5238 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.375e-05/0.003581, allocations: 77.86 kB / 0.5239 GB, free: 14.53 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.937e-06/0.003585, allocations: 4 kB / 0.5239 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.662e-06/0.003592, allocations: 3.984 kB / 0.5239 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.235e-06/0.0036, allocations: 0 / 0.5239 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.404e-06/0.003608, allocations: 5.266 kB / 0.5239 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.243e-06/0.003609, allocations: 0 / 0.5239 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 2.588e-05/0.003635, allocations: 119.2 kB / 0.524 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.003635, allocations: 0 / 0.524 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001056/0.00374, allocations: 4.625 kB / 0.524 GB, free: 14.39 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 (1): * Single equations (assignments): 1 * 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.287e-05/0.003803, allocations: 98.72 kB / 0.5241 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 4.794e-05/0.003851, allocations: 14.62 kB / 0.5241 GB, free: 14.28 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.82e-07/0.003852, allocations: 0 / 0.5241 GB, free: 14.28 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 9.397e-06/0.003861, allocations: 15.69 kB / 0.5241 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.725e-05/0.003939, allocations: 7.922 kB / 0.5241 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001229/0.004062, allocations: 83.98 kB / 0.5242 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.721e-05/0.004089, allocations: 53.8 kB / 0.5243 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.524e-05/0.004104, allocations: 0 / 0.5243 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.504e-05/0.004149, allocations: 76 kB / 0.5243 GB, free: 13.99 MB / 0.4948 GB Notification: Performance of SimCode: time 9.92e-07/0.00415, allocations: 0 / 0.5243 GB, free: 13.99 MB / 0.4948 GB Notification: Performance of Templates: time 0.001344/0.005495, allocations: 285.4 kB / 0.5246 GB, free: 13.72 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7517969887703657]