Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Time.Examples.ModelTime.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.0007396/0.0007396, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009189/0.001658, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0007045/0.0007045, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009129/0.001617, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.055/1.055, allocations: 177.2 MB / 189.7 MB, free: 5.227 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09222/1.147, allocations: 53.67 MB / 243.4 MB, free: 15.48 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-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 4.0.0-master/package.mo): time 0.7564/0.7564, allocations: 155.3 MB / 399.5 MB, free: 15.79 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2946/1.051, allocations: 49.13 MB / 448.6 MB, free: 5.895 MB / 426.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Time.Examples.ModelTime") translateModel(IDEAS.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Time.Examples.ModelTime") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 449.9 MB, free: 4.625 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.279e-05/1.444e-05, allocations: 3.188 kB / 449.9 MB, free: 4.621 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Examples.ModelTime): time 0.001138/0.001152, allocations: 0.6641 MB / 450.6 MB, free: 3.992 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 1.461e-05/0.001167, allocations: 0.75 kB / 450.6 MB, free: 3.992 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.13e-05/0.001178, allocations: 0 / 450.6 MB, free: 3.992 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 1.638e-05/0.001194, allocations: 1.688 kB / 450.6 MB, free: 3.992 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 7.91e-07/0.001195, allocations: 0 / 450.6 MB, free: 3.992 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 1.274e-05/0.001208, allocations: 4.641 kB / 450.6 MB, free: 3.988 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 4.025e-05/0.001248, allocations: 7.875 kB / 450.6 MB, free: 3.984 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.522e-05/0.001283, allocations: 6.75 kB / 450.6 MB, free: 3.98 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.971e-05/0.001313, allocations: 4 kB / 450.6 MB, free: 3.977 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.058e-05/0.001334, allocations: 0.9844 kB / 450.6 MB, free: 3.977 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.455e-05/0.001348, allocations: 0 / 450.6 MB, free: 3.977 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.808e-06/0.001352, allocations: 0 / 450.6 MB, free: 3.977 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 1.234e-05/0.001364, allocations: 5.422 kB / 450.6 MB, free: 3.973 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 1.09e-05/0.001375, allocations: 0 / 450.6 MB, free: 3.973 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 4.694e-05/0.001422, allocations: 0.875 kB / 450.6 MB, free: 3.973 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.377e-06/0.001431, allocations: 2.594 kB / 450.6 MB, free: 3.973 MB / 426.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.001432, allocations: 0 / 450.6 MB, free: 3.973 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.654e-06/0.00144, allocations: 0 / 450.6 MB, free: 3.973 MB / 426.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.0001756/0.001615, allocations: 209.6 kB / 450.8 MB, free: 3.742 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.877e-05/0.001644, allocations: 15.97 kB / 450.8 MB, free: 3.727 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.355e-05/0.001668, allocations: 1.531 kB / 450.8 MB, free: 3.727 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.313e-05/0.001721, allocations: 101.8 kB / 450.9 MB, free: 3.602 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.794e-06/0.001728, allocations: 1.75 kB / 450.9 MB, free: 3.602 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.734e-06/0.001736, allocations: 4.375 kB / 451 MB, free: 3.598 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.033e-05/0.001797, allocations: 26.27 kB / 451 MB, free: 3.566 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.59e-06/0.001802, allocations: 0.8125 kB / 451 MB, free: 3.566 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.919e-06/0.001807, allocations: 384 / 451 MB, free: 3.566 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.001812, allocations: 2.969 kB / 451 MB, free: 3.566 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.005e-05/0.001822, allocations: 11.92 kB / 451 MB, free: 3.555 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.135e-05/0.001883, allocations: 57.05 kB / 451 MB, free: 3.484 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 2.922e-05/0.001913, allocations: 26.53 kB / 451.1 MB, free: 3.445 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.66e-05/0.001929, allocations: 8.422 kB / 451.1 MB, free: 3.438 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.238e-06/0.001933, allocations: 0 / 451.1 MB, free: 3.438 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.684e-05/0.00195, allocations: 34.62 kB / 451.1 MB, free: 3.395 MB / 426.7 MB Notification: Performance of pre-optimization done (n=1): time 4.91e-07/0.001951, allocations: 0 / 451.1 MB, free: 3.395 MB / 426.7 MB Notification: Performance of matching and sorting (n=1): time 6.81e-05/0.002019, allocations: 29.7 kB / 451.1 MB, free: 3.359 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.436e-05/0.002043, allocations: 56.38 kB / 451.2 MB, free: 3.293 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.358e-05/0.002067, allocations: 90.62 kB / 451.3 MB, free: 3.195 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 6.742e-06/0.002073, allocations: 26.3 kB / 451.3 MB, free: 3.164 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.753e-05/0.002091, allocations: 84.12 kB / 451.4 MB, free: 3.078 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.446e-05/0.002115, allocations: 0.6562 kB / 451.4 MB, free: 3.078 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.705e-05/0.002133, allocations: 13.72 kB / 451.4 MB, free: 3.059 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.928e-05/0.002202, allocations: 320 kB / 451.7 MB, free: 2.738 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.138e-06/0.002206, allocations: 0 / 451.7 MB, free: 2.738 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.248e-06/0.00221, allocations: 4.766 kB / 451.7 MB, free: 2.734 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.096e-05/0.002231, allocations: 7.891 kB / 451.7 MB, free: 2.727 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.002233, allocations: 0 / 451.7 MB, free: 2.727 MB / 426.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 2.697e-05/0.00226, allocations: 37.62 kB / 451.8 MB, free: 2.684 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.869e-06/0.00227, allocations: 8 kB / 451.8 MB, free: 2.676 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.002273, allocations: 0 / 451.8 MB, free: 2.676 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.718e-06/0.002283, allocations: 0 / 451.8 MB, free: 2.676 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.4e-05/0.002327, allocations: 1.75 kB / 451.8 MB, free: 2.676 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.405e-06/0.00233, allocations: 4 kB / 451.8 MB, free: 2.672 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.923e-06/0.002336, allocations: 2.969 kB / 451.8 MB, free: 2.672 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.625e-06/0.002339, allocations: 0 / 451.8 MB, free: 2.672 MB / 426.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 4.244e-05/0.002382, allocations: 110.7 kB / 451.9 MB, free: 2.555 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.305e-06/0.002384, allocations: 0 / 451.9 MB, free: 2.555 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.169e-05/0.002396, allocations: 7.906 kB / 451.9 MB, free: 2.547 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.002398, allocations: 1.219 kB / 451.9 MB, free: 2.547 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.312e-06/0.002399, allocations: 0 / 451.9 MB, free: 2.547 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.003e-06/0.002401, allocations: 0.625 kB / 451.9 MB, free: 2.547 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.886e-05/0.00244, allocations: 70.59 kB / 452 MB, free: 2.461 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.61e-07/0.00244, allocations: 0.625 kB / 452 MB, free: 2.461 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.198e-06/0.002444, allocations: 4.625 kB / 452 MB, free: 2.457 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.318e-06/0.002449, allocations: 3.984 kB / 452 MB, free: 2.453 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.11e-07/0.002449, allocations: 0.625 kB / 452 MB, free: 2.453 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.066e-06/0.002452, allocations: 0 / 452 MB, free: 2.453 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.8e-07/0.002453, allocations: 0.5625 kB / 452 MB, free: 2.453 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-07/0.002453, allocations: 5.406 kB / 452 MB, free: 2.449 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.025e-05/0.002493, allocations: 65.59 kB / 452.1 MB, free: 2.367 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.24e-06/0.002499, allocations: 0.8125 kB / 452.1 MB, free: 2.367 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.056e-06/0.002502, allocations: 0 / 452.1 MB, free: 2.367 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.366e-06/0.00251, allocations: 4 kB / 452.1 MB, free: 2.363 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.61e-07/0.002511, allocations: 1.781 kB / 452.1 MB, free: 2.363 MB / 426.7 MB Notification: Performance of sorting global known variables: time 7.985e-06/0.002519, allocations: 8.359 kB / 452.1 MB, free: 2.355 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.002519, allocations: 0 / 452.1 MB, free: 2.355 MB / 426.7 MB Notification: Performance of remove unused functions: time 8.228e-05/0.002601, allocations: 0.5469 kB / 452.1 MB, free: 2.355 MB / 426.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 6.138e-05/0.002663, allocations: 77.95 kB / 452.1 MB, free: 2.27 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 4.348e-05/0.002706, allocations: 14.94 kB / 452.2 MB, free: 2.254 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.00271, allocations: 0.75 kB / 452.2 MB, free: 2.254 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 1.329e-05/0.002723, allocations: 8.859 kB / 452.2 MB, free: 2.242 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 4.306e-05/0.002766, allocations: 8.875 kB / 452.2 MB, free: 2.234 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001312/0.002897, allocations: 85.5 kB / 452.3 MB, free: 2.125 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.707e-05/0.002924, allocations: 60.89 kB / 452.3 MB, free: 2.047 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 9.999e-06/0.002934, allocations: 0 / 452.3 MB, free: 2.047 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.434e-05/0.002959, allocations: 48.03 kB / 452.4 MB, free: 2 MB / 426.7 MB Notification: Performance of SimCode: time 3.3e-07/0.002959, allocations: 0 / 452.4 MB, free: 2 MB / 426.7 MB Notification: Performance of Templates: time 0.001292/0.004251, allocations: 208.8 kB / 452.6 MB, free: 1.801 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Time.Examples.ModelTime.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Time.Examples.ModelTime.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Time.Examples.ModelTime.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Time.Examples.ModelTime.sim & ./IDEAS_dev_IDEAS.Utilities.Time.Examples.ModelTime -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Time.Examples.ModelTime.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.466011648066342]