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.00114/0.00114, allocations: 80.81 kB / 19.94 MB, free: 4.547 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.001408/0.001408, allocations: 173 kB / 23.35 MB, free: 1.137 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.064/1.064, allocations: 177.1 MB / 203.8 MB, free: 5.461 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.8151/0.8151, 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.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 2.114e-06/2.114e-06, allocations: 0 / 480.4 MB, free: 6.543 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.603e-05/2.814e-05, allocations: 3.375 kB / 480.4 MB, free: 6.539 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Examples.ModelTime): time 0.002324/0.002352, allocations: 0.6511 MB / 481 MB, free: 5.926 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 6.043e-05/0.002412, allocations: 5.797 kB / 481 MB, free: 5.922 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.988e-05/0.002432, allocations: 0 / 481 MB, free: 5.922 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 2.613e-05/0.002458, allocations: 0 / 481 MB, free: 5.922 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 8.506e-06/0.002467, allocations: 0 / 481 MB, free: 5.922 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.826e-05/0.002505, allocations: 0.5469 kB / 481 MB, free: 5.922 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 5.273e-05/0.002558, allocations: 4.875 kB / 481 MB, free: 5.918 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.14e-05/0.002609, allocations: 1 kB / 481 MB, free: 5.918 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.555e-05/0.002645, allocations: 6.375 kB / 481 MB, free: 5.914 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.696e-05/0.002672, allocations: 0 / 481 MB, free: 5.914 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.151e-05/0.002683, allocations: 0 / 481 MB, free: 5.914 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.928e-06/0.002687, allocations: 0 / 481 MB, free: 5.914 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.315e-05/0.0027, allocations: 0.6875 kB / 481 MB, free: 5.914 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 1.429e-05/0.002715, allocations: 4 kB / 481 MB, free: 5.91 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 5.78e-05/0.002772, allocations: 1.344 kB / 481 MB, free: 5.91 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.002775, allocations: 0.625 kB / 481 MB, free: 5.91 MB / 442.7 MB Notification: Performance of FrontEnd: time 8.81e-07/0.002776, allocations: 0 / 481 MB, free: 5.91 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.509e-06/0.00278, allocations: 0.9688 kB / 481 MB, free: 5.91 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.0002122/0.002993, allocations: 208.8 kB / 481.2 MB, free: 5.68 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.003029, allocations: 8.688 kB / 481.2 MB, free: 5.672 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.477e-05/0.003054, allocations: 10.09 kB / 481.3 MB, free: 5.664 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.179e-05/0.003126, allocations: 105.8 kB / 481.4 MB, free: 5.535 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.226e-05/0.003138, allocations: 4.375 kB / 481.4 MB, free: 5.531 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.712e-06/0.003145, allocations: 2.125 kB / 481.4 MB, free: 5.531 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.75e-05/0.003212, allocations: 34.25 kB / 481.4 MB, free: 5.492 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.00322, allocations: 0.8438 kB / 481.4 MB, free: 5.492 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.49e-06/0.003225, allocations: 1.406 kB / 481.4 MB, free: 5.492 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.003232, allocations: 1.312 kB / 481.4 MB, free: 5.492 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.558e-06/0.003242, allocations: 4.844 kB / 481.4 MB, free: 5.488 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002131/0.003455, allocations: 61.05 kB / 481.5 MB, free: 5.414 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.677e-05/0.003502, allocations: 19.83 kB / 481.5 MB, free: 5.387 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.85e-05/0.00352, allocations: 9.5 kB / 481.5 MB, free: 5.375 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.189e-06/0.003525, allocations: 0 / 481.5 MB, free: 5.375 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.35e-05/0.003549, allocations: 32 kB / 481.5 MB, free: 5.336 MB / 442.7 MB Notification: Performance of pre-optimization done (n=1): time 1.273e-06/0.00355, allocations: 0 / 481.5 MB, free: 5.336 MB / 442.7 MB Notification: Performance of matching and sorting (n=1): time 9.086e-05/0.003641, allocations: 33.69 kB / 481.6 MB, free: 5.297 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.529e-05/0.003676, allocations: 61.28 kB / 481.6 MB, free: 5.227 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.247e-05/0.003709, allocations: 89.86 kB / 481.7 MB, free: 5.129 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 8.646e-06/0.003717, allocations: 26.95 kB / 481.7 MB, free: 5.098 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.329e-05/0.003741, allocations: 80.14 kB / 481.8 MB, free: 5.016 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.852e-05/0.003769, allocations: 3.094 kB / 481.8 MB, free: 5.016 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.786e-05/0.003797, allocations: 13.72 kB / 481.8 MB, free: 4.996 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.961e-05/0.003887, allocations: 319.6 kB / 482.1 MB, free: 4.676 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.486e-06/0.003895, allocations: 0 / 482.1 MB, free: 4.676 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.811e-06/0.003901, allocations: 0.875 kB / 482.1 MB, free: 4.676 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.872e-05/0.00393, allocations: 9.766 kB / 482.2 MB, free: 4.664 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.003932, allocations: 0.7656 kB / 482.2 MB, free: 4.664 MB / 442.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.733e-05/0.003989, allocations: 38.28 kB / 482.2 MB, free: 4.621 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.004005, allocations: 4.594 kB / 482.2 MB, free: 4.617 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.004011, allocations: 4.609 kB / 482.2 MB, free: 4.613 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.004025, allocations: 0.625 kB / 482.2 MB, free: 4.613 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.076e-05/0.004076, allocations: 0 / 482.2 MB, free: 4.613 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.266e-06/0.004079, allocations: 0.625 kB / 482.2 MB, free: 4.613 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.788e-06/0.004089, allocations: 1.5 kB / 482.2 MB, free: 4.613 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.338e-06/0.004093, allocations: 0 / 482.2 MB, free: 4.613 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 6.805e-05/0.004161, allocations: 118.4 kB / 482.3 MB, free: 4.488 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.993e-06/0.004168, allocations: 0.8125 kB / 482.3 MB, free: 4.488 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.988e-05/0.004188, allocations: 6.234 kB / 482.3 MB, free: 4.48 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.004193, allocations: 5.094 kB / 482.3 MB, free: 4.477 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/0.004195, allocations: 0 / 482.3 MB, free: 4.477 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.513e-06/0.004202, allocations: 5.688 kB / 482.3 MB, free: 4.473 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.894e-05/0.004261, allocations: 62.61 kB / 482.4 MB, free: 4.395 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.004263, allocations: 0 / 482.4 MB, free: 4.395 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.639e-05/0.004279, allocations: 0 / 482.4 MB, free: 4.395 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.489e-06/0.004284, allocations: 4 kB / 482.4 MB, free: 4.391 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.558e-06/0.004288, allocations: 2.547 kB / 482.4 MB, free: 4.391 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.00429, allocations: 0 / 482.4 MB, free: 4.391 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.004291, allocations: 1.688 kB / 482.4 MB, free: 4.391 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.747e-05/0.004368, allocations: 61.55 kB / 482.5 MB, free: 4.312 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.203e-06/0.004376, allocations: 4 kB / 482.5 MB, free: 4.309 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.163e-05/0.004387, allocations: 8 kB / 482.5 MB, free: 4.301 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.292e-06/0.004394, allocations: 0.5625 kB / 482.5 MB, free: 4.301 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.004e-05/0.004404, allocations: 2.344 kB / 482.5 MB, free: 4.301 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.404e-06/0.004406, allocations: 0.7656 kB / 482.5 MB, free: 4.301 MB / 442.7 MB Notification: Performance of sorting global known variables: time 9.919e-06/0.004416, allocations: 4.859 kB / 482.5 MB, free: 4.293 MB / 442.7 MB Notification: Performance of sort global known variables: time 8e-08/0.004416, allocations: 4 kB / 482.5 MB, free: 4.289 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001376/0.004554, allocations: 0 / 482.5 MB, free: 4.289 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.004643, allocations: 74.05 kB / 482.6 MB, free: 4.207 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 5.754e-05/0.0047, allocations: 12.84 kB / 482.6 MB, free: 4.191 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.004703, allocations: 0 / 482.6 MB, free: 4.191 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 9.408e-06/0.004712, allocations: 11.84 kB / 482.6 MB, free: 4.18 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.098e-05/0.004773, allocations: 7.938 kB / 482.6 MB, free: 4.172 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001658/0.004939, allocations: 76.86 kB / 482.7 MB, free: 4.07 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.148e-05/0.00497, allocations: 51.36 kB / 482.7 MB, free: 4 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 1.276e-05/0.004983, allocations: 8 kB / 482.7 MB, free: 3.992 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.212e-05/0.005015, allocations: 52.11 kB / 482.8 MB, free: 3.941 MB / 442.7 MB Notification: Performance of SimCode: time 5.91e-07/0.005016, allocations: 0.9688 kB / 482.8 MB, free: 3.941 MB / 442.7 MB Notification: Performance of Templates: time 0.001875/0.006891, allocations: 210.2 kB / 483 MB, free: 3.742 MB / 442.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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Time.Examples.ModelTime.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.693683206103742]