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.001105/0.001105, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.00163/0.00163, allocations: 177.4 kB / 23.36 MB, free: 1.129 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 0.9939/0.9939, allocations: 177.1 MB / 203.8 MB, free: 5.477 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.8148/0.8148, allocations: 154.9 MB / 415.1 MB, free: 224 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 2.104e-06/2.104e-06, allocations: 0 / 480.4 MB, free: 6.48 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.156e-05/2.366e-05, allocations: 3.031 kB / 480.4 MB, free: 6.477 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegStep): time 0.001378/0.001402, allocations: 0.6058 MB / 481 MB, free: 5.906 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.000234/0.001636, allocations: 48.67 kB / 481.1 MB, free: 5.859 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.51e-05/0.001651, allocations: 1.438 kB / 481.1 MB, free: 5.859 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 1.477e-05/0.001666, allocations: 0 / 481.1 MB, free: 5.859 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 5.721e-06/0.001671, allocations: 0.6562 kB / 481.1 MB, free: 5.859 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000219/0.00189, allocations: 12.7 kB / 481.1 MB, free: 5.848 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 3.85e-05/0.001929, allocations: 4.547 kB / 481.1 MB, free: 5.844 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.777e-05/0.001967, allocations: 6.422 kB / 481.1 MB, free: 5.84 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.609e-05/0.001993, allocations: 4 kB / 481.1 MB, free: 5.836 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.3e-05/0.002016, allocations: 5.094 kB / 481.1 MB, free: 5.832 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.147e-05/0.002027, allocations: 0 / 481.1 MB, free: 5.832 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.443e-05/0.002122, allocations: 20.81 kB / 481.1 MB, free: 5.812 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.2e-05/0.002134, allocations: 0 / 481.1 MB, free: 5.812 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 1.233e-05/0.002146, allocations: 4 kB / 481.1 MB, free: 5.809 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 7.111e-05/0.002217, allocations: 16.48 kB / 481.2 MB, free: 5.793 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.954e-06/0.002219, allocations: 1.484 kB / 481.2 MB, free: 5.793 MB / 442.7 MB Notification: Performance of FrontEnd: time 8.02e-07/0.00222, allocations: 0 / 481.2 MB, free: 5.793 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.875e-06/0.002223, allocations: 0 / 481.2 MB, free: 5.793 MB / 442.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.0001925/0.002415, allocations: 217.4 kB / 481.4 MB, free: 5.555 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.00245, allocations: 10.16 kB / 481.4 MB, free: 5.547 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001738/0.002624, allocations: 12.92 kB / 481.4 MB, free: 5.535 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.946e-05/0.002684, allocations: 109.8 kB / 481.5 MB, free: 5.402 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.948e-06/0.002694, allocations: 2.5 kB / 481.5 MB, free: 5.402 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.114e-05/0.002705, allocations: 4.312 kB / 481.5 MB, free: 5.398 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.719e-05/0.002802, allocations: 46.95 kB / 481.5 MB, free: 5.344 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.871e-06/0.002808, allocations: 1.062 kB / 481.5 MB, free: 5.344 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.943e-06/0.002815, allocations: 384 / 481.6 MB, free: 5.344 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/0.00282, allocations: 1.25 kB / 481.6 MB, free: 5.344 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.559e-05/0.002835, allocations: 3.938 kB / 481.6 MB, free: 5.34 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.778e-05/0.002903, allocations: 65.3 kB / 481.6 MB, free: 5.266 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.67e-05/0.00294, allocations: 18.61 kB / 481.6 MB, free: 5.238 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.394e-05/0.002954, allocations: 9.359 kB / 481.6 MB, free: 5.227 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.206e-05/0.002966, allocations: 0.5938 kB / 481.6 MB, free: 5.227 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.953e-05/0.002985, allocations: 35.2 kB / 481.7 MB, free: 5.184 MB / 442.7 MB Notification: Performance of pre-optimization done (n=1): time 9.22e-07/0.002986, allocations: 4.719 kB / 481.7 MB, free: 5.18 MB / 442.7 MB Notification: Performance of matching and sorting (n=1): time 8.964e-05/0.003076, allocations: 30.3 kB / 481.7 MB, free: 5.145 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.623e-05/0.003112, allocations: 52.03 kB / 481.8 MB, free: 5.082 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.777e-05/0.00314, allocations: 89.86 kB / 481.9 MB, free: 4.984 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 9.688e-06/0.00315, allocations: 26.33 kB / 481.9 MB, free: 4.953 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.075e-05/0.00317, allocations: 81.95 kB / 482 MB, free: 4.871 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.789e-05/0.003198, allocations: 3.938 kB / 482 MB, free: 4.867 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.449e-05/0.003223, allocations: 14.25 kB / 482 MB, free: 4.848 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.643e-05/0.003309, allocations: 326.8 kB / 482.3 MB, free: 4.52 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.157e-05/0.003321, allocations: 5.031 kB / 482.3 MB, free: 4.516 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.604e-06/0.003328, allocations: 4 kB / 482.3 MB, free: 4.512 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.942e-05/0.003358, allocations: 9.703 kB / 482.3 MB, free: 4.5 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.003361, allocations: 4.906 kB / 482.3 MB, free: 4.496 MB / 442.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.14e-05/0.003402, allocations: 34.69 kB / 482.4 MB, free: 4.457 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.199e-05/0.003414, allocations: 4 kB / 482.4 MB, free: 4.453 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-06/0.003419, allocations: 0.6562 kB / 482.4 MB, free: 4.453 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.077e-05/0.00343, allocations: 1.141 kB / 482.4 MB, free: 4.453 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.01e-05/0.00349, allocations: 4 kB / 482.4 MB, free: 4.449 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.206e-06/0.003493, allocations: 1.312 kB / 482.4 MB, free: 4.449 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.312e-05/0.003506, allocations: 0 / 482.4 MB, free: 4.449 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.549e-06/0.003511, allocations: 0 / 482.4 MB, free: 4.449 MB / 442.7 MB 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.874e-05/0.003569, allocations: 119.8 kB / 482.5 MB, free: 4.324 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.208e-06/0.003574, allocations: 0 / 482.5 MB, free: 4.324 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.401e-05/0.003598, allocations: 11.16 kB / 482.5 MB, free: 4.316 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.003599, allocations: 1.062 kB / 482.5 MB, free: 4.316 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.162e-06/0.0036, allocations: 0 / 482.5 MB, free: 4.316 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.003603, allocations: 4 kB / 482.5 MB, free: 4.312 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.707e-05/0.00366, allocations: 63.31 kB / 482.6 MB, free: 4.234 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.003661, allocations: 0.9062 kB / 482.6 MB, free: 4.234 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.209e-05/0.003673, allocations: 4 kB / 482.6 MB, free: 4.23 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.172e-06/0.003674, allocations: 0.5938 kB / 482.6 MB, free: 4.23 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.24e-06/0.003679, allocations: 3.984 kB / 482.6 MB, free: 4.227 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.12e-07/0.00368, allocations: 0.875 kB / 482.6 MB, free: 4.227 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.003681, allocations: 0 / 482.6 MB, free: 4.227 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.881e-05/0.003739, allocations: 58.11 kB / 482.6 MB, free: 4.152 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.256e-06/0.003743, allocations: 1.984 kB / 482.6 MB, free: 4.152 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.968e-06/0.003753, allocations: 8.734 kB / 482.6 MB, free: 4.145 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.435e-06/0.003761, allocations: 4 kB / 482.6 MB, free: 4.141 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.018e-05/0.003771, allocations: 5.75 kB / 482.6 MB, free: 4.137 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.823e-06/0.003773, allocations: 0 / 482.6 MB, free: 4.137 MB / 442.7 MB Notification: Performance of sorting global known variables: time 5.47e-06/0.003779, allocations: 4.859 kB / 482.7 MB, free: 4.129 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.003779, allocations: 0 / 482.7 MB, free: 4.129 MB / 442.7 MB Notification: Performance of remove unused functions: time 8.823e-05/0.003867, allocations: 0.5469 kB / 482.7 MB, free: 4.129 MB / 442.7 MB 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 8.894e-05/0.003956, allocations: 77.8 kB / 482.7 MB, free: 4.043 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 6.034e-05/0.004016, allocations: 10.2 kB / 482.7 MB, free: 4.031 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.004019, allocations: 0 / 482.7 MB, free: 4.031 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 8.796e-06/0.004028, allocations: 8.844 kB / 482.7 MB, free: 4.02 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.588e-05/0.004084, allocations: 9.234 kB / 482.8 MB, free: 4.012 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001783/0.004262, allocations: 77.47 kB / 482.8 MB, free: 3.91 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.117e-05/0.004293, allocations: 60.72 kB / 482.9 MB, free: 3.832 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.035e-05/0.004314, allocations: 4.844 kB / 482.9 MB, free: 3.828 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.068e-05/0.004354, allocations: 56.42 kB / 482.9 MB, free: 3.773 MB / 442.7 MB Notification: Performance of SimCode: time 7.82e-07/0.004355, allocations: 0 / 482.9 MB, free: 3.773 MB / 442.7 MB Notification: Performance of Templates: time 0.001816/0.006171, allocations: 282.5 kB / 483.2 MB, free: 3.512 MB / 442.7 MB " [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.5020171739161015]