Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001126/0.001126, allocations: 80.88 kB / 19.94 MB, free: 4.551 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.001348/0.001348, allocations: 177 kB / 23.36 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.102/1.102, allocations: 177.1 MB / 203.8 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108: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/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.793/0.793, allocations: 154.6 MB / 414.8 MB, free: 0.5273 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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/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 4.0.0/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_IDEAS.Utilities.Time.Examples.ModelTime") translateModel(IDEAS.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Time.Examples.ModelTime") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 480 MB, free: 6.895 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.267e-05/2.413e-05, allocations: 4.844 kB / 480 MB, free: 6.891 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Examples.ModelTime): time 0.0015/0.001525, allocations: 0.6529 MB / 480.7 MB, free: 6.273 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 5.048e-05/0.001575, allocations: 3.984 kB / 480.7 MB, free: 6.27 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.605e-05/0.001591, allocations: 3.938 kB / 480.7 MB, free: 6.266 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 2.263e-05/0.001614, allocations: 0.5469 kB / 480.7 MB, free: 6.266 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 6.452e-06/0.00162, allocations: 0 / 480.7 MB, free: 6.266 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.397e-05/0.001654, allocations: 0 / 480.7 MB, free: 6.266 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 4.859e-05/0.001703, allocations: 4 kB / 480.7 MB, free: 6.262 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.516e-05/0.001738, allocations: 4.766 kB / 480.7 MB, free: 6.258 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.1e-05/0.001769, allocations: 0 / 480.7 MB, free: 6.258 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.23e-05/0.001791, allocations: 0.9062 kB / 480.7 MB, free: 6.258 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.201e-05/0.001803, allocations: 0 / 480.7 MB, free: 6.258 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.058e-06/0.001807, allocations: 0 / 480.7 MB, free: 6.258 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.233e-05/0.00182, allocations: 2.641 kB / 480.7 MB, free: 6.258 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 1.389e-05/0.001833, allocations: 4 kB / 480.7 MB, free: 6.254 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 5.186e-05/0.001885, allocations: 0 / 480.7 MB, free: 6.254 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.934e-06/0.001887, allocations: 0.9844 kB / 480.7 MB, free: 6.254 MB / 442.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.001888, allocations: 0 / 480.7 MB, free: 6.254 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.737e-06/0.001892, allocations: 0.9062 kB / 480.7 MB, free: 6.254 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.0001911/0.002083, allocations: 209.4 kB / 480.9 MB, free: 6.023 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.002118, allocations: 9.031 kB / 480.9 MB, free: 6.016 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.217e-05/0.00214, allocations: 4.938 kB / 480.9 MB, free: 6.012 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.358e-05/0.002204, allocations: 105.8 kB / 481 MB, free: 5.883 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.217e-06/0.002213, allocations: 0.9062 kB / 481 MB, free: 5.883 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.721e-06/0.002218, allocations: 384 / 481 MB, free: 5.883 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.933e-05/0.002288, allocations: 40.83 kB / 481 MB, free: 5.84 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.674e-06/0.002295, allocations: 192 / 481 MB, free: 5.84 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.502e-06/0.002302, allocations: 4.359 kB / 481.1 MB, free: 5.836 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.002308, allocations: 3.797 kB / 481.1 MB, free: 5.836 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.094e-05/0.002319, allocations: 5.156 kB / 481.1 MB, free: 5.832 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.703e-05/0.002396, allocations: 60.14 kB / 481.1 MB, free: 5.762 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.287e-05/0.002429, allocations: 14.58 kB / 481.1 MB, free: 5.738 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.536e-05/0.002445, allocations: 10.02 kB / 481.1 MB, free: 5.727 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.37e-06/0.00245, allocations: 0 / 481.1 MB, free: 5.727 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.102e-05/0.002471, allocations: 39.59 kB / 481.2 MB, free: 5.68 MB / 442.7 MB Notification: Performance of pre-optimization done (n=1): time 6.31e-07/0.002472, allocations: 0 / 481.2 MB, free: 5.68 MB / 442.7 MB Notification: Performance of matching and sorting (n=1): time 7.929e-05/0.002551, allocations: 29.7 kB / 481.2 MB, free: 5.645 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.935e-05/0.00258, allocations: 56.47 kB / 481.3 MB, free: 5.578 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.691e-05/0.002617, allocations: 94.52 kB / 481.4 MB, free: 5.477 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 8.445e-06/0.002626, allocations: 25.7 kB / 481.4 MB, free: 5.445 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.53e-05/0.002651, allocations: 81.55 kB / 481.5 MB, free: 5.363 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.894e-05/0.00268, allocations: 4 kB / 481.5 MB, free: 5.359 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.017e-05/0.0027, allocations: 14.27 kB / 481.5 MB, free: 5.34 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.653e-05/0.002767, allocations: 315.5 kB / 481.8 MB, free: 5.023 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.921e-06/0.002773, allocations: 0 / 481.8 MB, free: 5.023 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.741e-06/0.002778, allocations: 5.5 kB / 481.8 MB, free: 5.02 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.943e-05/0.002798, allocations: 8.859 kB / 481.8 MB, free: 5.008 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.002799, allocations: 0.5469 kB / 481.8 MB, free: 5.008 MB / 442.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.471e-05/0.002834, allocations: 34.53 kB / 481.8 MB, free: 4.969 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.007e-05/0.002844, allocations: 4 kB / 481.8 MB, free: 4.965 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.002849, allocations: 4.562 kB / 481.8 MB, free: 4.961 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.095e-05/0.00286, allocations: 1.281 kB / 481.8 MB, free: 4.961 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.744e-05/0.002898, allocations: 0.6562 kB / 481.8 MB, free: 4.961 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.934e-06/0.0029, allocations: 0 / 481.8 MB, free: 4.961 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.903e-06/0.002907, allocations: 0 / 481.8 MB, free: 4.961 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.316e-06/0.00291, allocations: 0.7188 kB / 481.8 MB, free: 4.961 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 4.614e-05/0.002956, allocations: 118.4 kB / 482 MB, free: 4.836 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.757e-06/0.00296, allocations: 3.938 kB / 482 MB, free: 4.832 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.115e-05/0.002971, allocations: 5.109 kB / 482 MB, free: 4.832 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.002972, allocations: 0 / 482 MB, free: 4.832 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.163e-06/0.002973, allocations: 0.625 kB / 482 MB, free: 4.832 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.002977, allocations: 8.609 kB / 482 MB, free: 4.824 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.998e-05/0.003017, allocations: 61.84 kB / 482 MB, free: 4.746 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-07/0.003017, allocations: 0.625 kB / 482 MB, free: 4.746 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.288e-06/0.003022, allocations: 0 / 482 MB, free: 4.746 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.003024, allocations: 5.609 kB / 482 MB, free: 4.742 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.125e-06/0.003027, allocations: 0.9375 kB / 482 MB, free: 4.742 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.11e-07/0.003027, allocations: 0 / 482 MB, free: 4.742 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.003028, allocations: 0 / 482 MB, free: 4.742 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.525e-05/0.003073, allocations: 62.62 kB / 482.1 MB, free: 4.664 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.408e-06/0.003078, allocations: 4 kB / 482.1 MB, free: 4.66 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.12e-06/0.003083, allocations: 0 / 482.1 MB, free: 4.66 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.086e-06/0.003086, allocations: 0 / 482.1 MB, free: 4.66 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.376e-06/0.003094, allocations: 0.9375 kB / 482.1 MB, free: 4.66 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.02e-07/0.003095, allocations: 0.6562 kB / 482.1 MB, free: 4.66 MB / 442.7 MB Notification: Performance of sorting global known variables: time 5.721e-06/0.003101, allocations: 10.11 kB / 482.1 MB, free: 4.648 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.003101, allocations: 0 / 482.1 MB, free: 4.648 MB / 442.7 MB Notification: Performance of remove unused functions: time 8.515e-05/0.003186, allocations: 4 kB / 482.1 MB, free: 4.645 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 5.945e-05/0.003245, allocations: 73.27 kB / 482.2 MB, free: 4.562 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 4.341e-05/0.003289, allocations: 13.44 kB / 482.2 MB, free: 4.547 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.003292, allocations: 6.969 kB / 482.2 MB, free: 4.543 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 5.871e-06/0.003298, allocations: 4.859 kB / 482.2 MB, free: 4.535 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 4.864e-05/0.003346, allocations: 7.938 kB / 482.2 MB, free: 4.527 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001401/0.003487, allocations: 80.5 kB / 482.3 MB, free: 4.422 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.379e-05/0.00351, allocations: 52.67 kB / 482.4 MB, free: 4.352 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 9.268e-06/0.00352, allocations: 4.625 kB / 482.4 MB, free: 4.348 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.327e-05/0.003543, allocations: 49.09 kB / 482.4 MB, free: 4.301 MB / 442.7 MB Notification: Performance of SimCode: time 6.41e-07/0.003544, allocations: 0 / 482.4 MB, free: 4.301 MB / 442.7 MB Notification: Performance of Templates: time 0.001321/0.004865, allocations: 213 kB / 482.6 MB, free: 4.098 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Time.Examples.ModelTime.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Time.Examples.ModelTime.pipe ; mkfifo IDEAS_IDEAS.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Time.Examples.ModelTime.pipe >> ../files/IDEAS_IDEAS.Utilities.Time.Examples.ModelTime.sim & ./IDEAS_IDEAS.Utilities.Time.Examples.ModelTime -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Time.Examples.ModelTime.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5800819974392653]