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.001083/0.001083, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.001203/0.001203, allocations: 173 kB / 23.02 MB, free: 1.551 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.021/1.021, allocations: 177.1 MB / 203.4 MB, free: 5.637 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.8886/0.8886, allocations: 154.6 MB / 414.5 MB, free: 0.6953 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.563e-06/1.563e-06, allocations: 0 / 0.5203 GB, free: 1.16 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.797e-05/1.954e-05, allocations: 4.141 kB / 0.5203 GB, free: 1.156 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Examples.ModelTime): time 0.001112/0.001131, allocations: 0.6054 MB / 0.5209 GB, free: 0.5703 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 4.822e-05/0.00118, allocations: 0.5 kB / 0.5209 GB, free: 0.5703 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.792e-05/0.001197, allocations: 0 / 0.5209 GB, free: 0.5703 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 3.189e-05/0.001229, allocations: 0.6875 kB / 0.5209 GB, free: 0.5703 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 6.723e-06/0.001236, allocations: 3.938 kB / 0.5209 GB, free: 0.5664 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.683e-05/0.001273, allocations: 2.531 kB / 0.5209 GB, free: 0.5664 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 5.83e-05/0.001331, allocations: 4 kB / 0.5209 GB, free: 0.5625 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.039e-05/0.001372, allocations: 0 / 0.5209 GB, free: 0.5625 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.442e-05/0.001406, allocations: 4.609 kB / 0.5209 GB, free: 0.5586 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.899e-05/0.001435, allocations: 0 / 0.5209 GB, free: 0.5586 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.797e-05/0.001453, allocations: 1.781 kB / 0.5209 GB, free: 0.5586 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.757e-06/0.001457, allocations: 0 / 0.5209 GB, free: 0.5586 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.525e-05/0.001472, allocations: 7.984 kB / 0.5209 GB, free: 0.5508 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 1.871e-05/0.001491, allocations: 4.875 kB / 0.5209 GB, free: 0.5469 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 5.568e-05/0.001546, allocations: 0 / 0.5209 GB, free: 0.5469 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.284e-06/0.001549, allocations: 1.719 kB / 0.5209 GB, free: 0.5469 MB / 442.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.001549, allocations: 0 / 0.5209 GB, free: 0.5469 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.797e-06/0.001553, allocations: 0 / 0.5209 GB, free: 0.5469 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.000258/0.001811, allocations: 333.2 kB / 0.5212 GB, free: 188 kB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.001852, allocations: 9.5 kB / 0.5212 GB, free: 180 kB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.499e-05/0.001887, allocations: 0.9375 kB / 0.5212 GB, free: 180 kB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.453e-05/0.001952, allocations: 112.6 kB / 0.5213 GB, free: 40 kB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.097e-05/0.001962, allocations: 384 / 0.5213 GB, free: 40 kB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.406e-06/0.001971, allocations: 5.125 kB / 0.5213 GB, free: 36 kB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.813e-05/0.002049, allocations: 26.27 kB / 0.5214 GB, free: 4 kB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.002057, allocations: 6.859 kB / 0.5214 GB, free: 0 / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.985e-06/0.002065, allocations: 496 / 0.5214 GB, free: 0 / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.002073, allocations: 496 / 0.5214 GB, free: 0 / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.82e-05/0.002101, allocations: 5.234 kB / 0.5214 GB, free: 15.99 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.385e-05/0.002195, allocations: 117.9 kB / 0.5215 GB, free: 15.84 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.644e-05/0.002231, allocations: 23.06 kB / 0.5215 GB, free: 15.81 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.09e-05/0.002252, allocations: 11.78 kB / 0.5215 GB, free: 15.79 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.541e-06/0.002258, allocations: 0.5312 kB / 0.5215 GB, free: 15.79 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.065e-05/0.002279, allocations: 44.75 kB / 0.5216 GB, free: 15.74 MB / 458.7 MB Notification: Performance of pre-optimization done (n=1): time 5.51e-07/0.002279, allocations: 0 / 0.5216 GB, free: 15.74 MB / 458.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001123/0.002391, allocations: 33.64 kB / 0.5216 GB, free: 15.7 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.9e-05/0.00242, allocations: 51.62 kB / 0.5216 GB, free: 15.64 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.519e-05/0.002456, allocations: 142.2 kB / 0.5218 GB, free: 15.49 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 8.045e-06/0.002464, allocations: 33.64 kB / 0.5218 GB, free: 15.45 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.664e-05/0.00249, allocations: 126.9 kB / 0.5219 GB, free: 15.32 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.478e-05/0.002515, allocations: 0 / 0.5219 GB, free: 15.32 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.099e-05/0.002536, allocations: 15.94 kB / 0.522 GB, free: 15.3 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001046/0.002641, allocations: 0.4922 MB / 0.5224 GB, free: 14.79 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.173e-06/0.002648, allocations: 0.5625 kB / 0.5224 GB, free: 14.79 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.671e-06/0.002654, allocations: 4.859 kB / 0.5224 GB, free: 14.79 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.674e-05/0.00268, allocations: 13.16 kB / 0.5225 GB, free: 14.77 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.002682, allocations: 0 / 0.5225 GB, free: 14.77 MB / 458.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.095e-05/0.002713, allocations: 33.64 kB / 0.5225 GB, free: 14.73 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.002726, allocations: 4 kB / 0.5225 GB, free: 14.73 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.00273, allocations: 0.9375 kB / 0.5225 GB, free: 14.73 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.002743, allocations: 4 kB / 0.5225 GB, free: 14.73 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.898e-05/0.002792, allocations: 1.125 kB / 0.5225 GB, free: 14.73 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.002797, allocations: 0 / 0.5225 GB, free: 14.73 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.802e-06/0.002803, allocations: 0 / 0.5225 GB, free: 14.73 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.357e-06/0.002813, allocations: 5.375 kB / 0.5225 GB, free: 14.72 MB / 458.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.399e-05/0.002877, allocations: 164.6 kB / 0.5227 GB, free: 14.55 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.156e-06/0.00288, allocations: 0 / 0.5227 GB, free: 14.55 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.397e-05/0.002894, allocations: 3 kB / 0.5227 GB, free: 14.55 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.002895, allocations: 0.8125 kB / 0.5227 GB, free: 14.55 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.975e-06/0.002898, allocations: 0 / 0.5227 GB, free: 14.55 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-06/0.002901, allocations: 1.281 kB / 0.5227 GB, free: 14.55 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.852e-05/0.002949, allocations: 112.6 kB / 0.5228 GB, free: 14.41 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.8e-07/0.00295, allocations: 0 / 0.5228 GB, free: 14.41 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.759e-06/0.002954, allocations: 2.688 kB / 0.5228 GB, free: 14.41 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.01e-07/0.002955, allocations: 0 / 0.5228 GB, free: 14.41 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.6e-06/0.002961, allocations: 0 / 0.5228 GB, free: 14.41 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.8e-07/0.002961, allocations: 4 kB / 0.5228 GB, free: 14.4 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.002963, allocations: 3.984 kB / 0.5228 GB, free: 14.4 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.69e-05/0.00301, allocations: 76.31 kB / 0.5228 GB, free: 14.3 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.399e-06/0.003014, allocations: 4 kB / 0.5229 GB, free: 14.3 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.913e-06/0.003021, allocations: 2.75 kB / 0.5229 GB, free: 14.3 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.106e-06/0.003024, allocations: 0 / 0.5229 GB, free: 14.3 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.097e-05/0.003035, allocations: 0 / 0.5229 GB, free: 14.3 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.81e-07/0.003036, allocations: 0 / 0.5229 GB, free: 14.3 MB / 458.7 MB Notification: Performance of sorting global known variables: time 2.561e-05/0.003062, allocations: 123.1 kB / 0.523 GB, free: 14.18 MB / 458.7 MB Notification: Performance of sort global known variables: time 5e-08/0.003062, allocations: 0 / 0.523 GB, free: 14.18 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0001049/0.003167, allocations: 4 kB / 0.523 GB, free: 14.17 MB / 458.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.435e-05/0.003231, allocations: 96.2 kB / 0.5231 GB, free: 14.07 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 6.826e-05/0.003299, allocations: 12.56 kB / 0.5231 GB, free: 14.05 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.003301, allocations: 7.938 kB / 0.5231 GB, free: 14.04 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 5.49e-06/0.003307, allocations: 8.625 kB / 0.5231 GB, free: 14.03 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.663e-05/0.003393, allocations: 4 kB / 0.5231 GB, free: 14.03 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001649/0.003558, allocations: 88.02 kB / 0.5232 GB, free: 13.91 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.012e-05/0.003588, allocations: 60.7 kB / 0.5232 GB, free: 13.84 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 1.053e-05/0.003599, allocations: 0 / 0.5232 GB, free: 13.84 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.798e-05/0.003617, allocations: 8.5 kB / 0.5232 GB, free: 13.83 MB / 458.7 MB Notification: Performance of SimCode: time 3.71e-07/0.003617, allocations: 0 / 0.5232 GB, free: 13.83 MB / 458.7 MB Notification: Performance of Templates: time 0.001419/0.005036, allocations: 181.8 kB / 0.5234 GB, free: 13.66 MB / 458.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 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Time.Examples.ModelTime.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7953070262447]