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.001393/0.001393, allocations: 88.72 kB / 19.44 MB, free: 352 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.001562/0.001562, allocations: 157.7 kB / 22.76 MB, free: 1.676 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.577/1.577, allocations: 177.2 MB / 203.1 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] 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 1.279/1.279, allocations: 154.6 MB / 414.1 MB, free: 0.6445 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 178] 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 5.06e-06/5.06e-06, allocations: 4 kB / 0.5196 GB, free: 2.57 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.275e-05/3.781e-05, allocations: 2.312 kB / 0.5196 GB, free: 2.566 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Examples.ModelTime): time 0.002501/0.002539, allocations: 0.5962 MB / 0.5202 GB, free: 1.992 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 7.085e-05/0.00261, allocations: 8 kB / 0.5202 GB, free: 1.984 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.54e-05/0.002635, allocations: 0 / 0.5202 GB, free: 1.984 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.831e-05/0.002673, allocations: 1.562 kB / 0.5202 GB, free: 1.984 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 8.716e-06/0.002682, allocations: 0 / 0.5202 GB, free: 1.984 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 6.004e-05/0.002742, allocations: 0 / 0.5202 GB, free: 1.984 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 7.749e-05/0.00282, allocations: 0 / 0.5202 GB, free: 1.984 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.337e-05/0.002883, allocations: 6.422 kB / 0.5202 GB, free: 1.98 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.005e-05/0.002933, allocations: 5.422 kB / 0.5202 GB, free: 1.977 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.958e-05/0.002973, allocations: 0 / 0.5202 GB, free: 1.977 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.936e-05/0.002992, allocations: 0 / 0.5202 GB, free: 1.977 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.219e-06/0.002997, allocations: 0 / 0.5202 GB, free: 1.977 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.915e-05/0.003016, allocations: 0 / 0.5202 GB, free: 1.977 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.741e-05/0.003044, allocations: 0 / 0.5202 GB, free: 1.977 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 5.984e-05/0.003104, allocations: 0.5625 kB / 0.5202 GB, free: 1.977 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.003106, allocations: 0 / 0.5202 GB, free: 1.977 MB / 490.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.003106, allocations: 1.219 kB / 0.5202 GB, free: 1.977 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.003111, allocations: 4.875 kB / 0.5202 GB, free: 1.973 MB / 490.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.0003842/0.003496, allocations: 234.4 kB / 0.5204 GB, free: 1.711 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.581e-05/0.003541, allocations: 13.59 kB / 0.5204 GB, free: 1.699 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.847e-05/0.00359, allocations: 0.9375 kB / 0.5204 GB, free: 1.699 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001206/0.00371, allocations: 105.7 kB / 0.5205 GB, free: 1.57 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.397e-05/0.003724, allocations: 1.031 kB / 0.5205 GB, free: 1.57 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.598e-06/0.003734, allocations: 5.312 kB / 0.5205 GB, free: 1.566 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001033/0.003837, allocations: 26.27 kB / 0.5206 GB, free: 1.535 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.003846, allocations: 192 / 0.5206 GB, free: 1.535 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.003856, allocations: 1.812 kB / 0.5206 GB, free: 1.535 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.003861, allocations: 384 / 0.5206 GB, free: 1.535 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.804e-05/0.003889, allocations: 12.16 kB / 0.5206 GB, free: 1.523 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001575/0.004047, allocations: 94.45 kB / 0.5207 GB, free: 1.402 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.557e-05/0.004113, allocations: 26.48 kB / 0.5207 GB, free: 1.367 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.945e-05/0.004152, allocations: 8.844 kB / 0.5207 GB, free: 1.355 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.324e-05/0.004165, allocations: 0.6875 kB / 0.5207 GB, free: 1.355 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.255e-05/0.004208, allocations: 35.91 kB / 0.5207 GB, free: 1.312 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.004209, allocations: 0 / 0.5207 GB, free: 1.312 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001657/0.004374, allocations: 33.7 kB / 0.5208 GB, free: 1.273 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.426e-05/0.004429, allocations: 51.91 kB / 0.5208 GB, free: 1.211 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.585e-05/0.004495, allocations: 90.95 kB / 0.5209 GB, free: 1.113 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.193e-05/0.004517, allocations: 29.64 kB / 0.5209 GB, free: 1.078 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.272e-05/0.004569, allocations: 88.12 kB / 0.521 GB, free: 0.9883 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.932e-05/0.004599, allocations: 0.5625 kB / 0.521 GB, free: 0.9883 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.065e-05/0.004629, allocations: 9.719 kB / 0.521 GB, free: 0.9727 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001924/0.004822, allocations: 324.8 kB / 0.5213 GB, free: 0.6484 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.299e-05/0.004835, allocations: 4 kB / 0.5213 GB, free: 0.6445 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.072e-06/0.004841, allocations: 0 / 0.5213 GB, free: 0.6445 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.656e-05/0.004877, allocations: 8.859 kB / 0.5213 GB, free: 0.6328 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.004879, allocations: 1.375 kB / 0.5213 GB, free: 0.6328 MB / 490.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.922e-05/0.004949, allocations: 33.7 kB / 0.5214 GB, free: 0.5938 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.004966, allocations: 4 kB / 0.5214 GB, free: 0.5898 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.229e-06/0.004972, allocations: 1.5 kB / 0.5214 GB, free: 0.5898 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.262e-05/0.004994, allocations: 4 kB / 0.5214 GB, free: 0.5859 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.72e-05/0.005061, allocations: 3.938 kB / 0.5214 GB, free: 0.582 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.62e-06/0.005067, allocations: 0 / 0.5214 GB, free: 0.582 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.476e-05/0.005082, allocations: 4.438 kB / 0.5214 GB, free: 0.5781 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.464e-06/0.005089, allocations: 5.016 kB / 0.5214 GB, free: 0.5742 MB / 490.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 9.55e-05/0.005185, allocations: 113.8 kB / 0.5215 GB, free: 464 kB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.744e-06/0.005192, allocations: 1.125 kB / 0.5215 GB, free: 464 kB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.72e-05/0.00521, allocations: 3 kB / 0.5215 GB, free: 460 kB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-06/0.005211, allocations: 0 / 0.5215 GB, free: 460 kB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.005215, allocations: 0 / 0.5215 GB, free: 460 kB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.005217, allocations: 0.625 kB / 0.5215 GB, free: 460 kB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.291e-05/0.00531, allocations: 101.8 kB / 0.5216 GB, free: 328 kB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.005311, allocations: 0 / 0.5216 GB, free: 328 kB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.157e-05/0.005322, allocations: 2.406 kB / 0.5216 GB, free: 328 kB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.005324, allocations: 0 / 0.5216 GB, free: 328 kB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.057e-05/0.005335, allocations: 7.984 kB / 0.5216 GB, free: 320 kB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.005336, allocations: 3.938 kB / 0.5216 GB, free: 316 kB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.005337, allocations: 0 / 0.5216 GB, free: 316 kB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.314e-05/0.00543, allocations: 61.02 kB / 0.5217 GB, free: 236 kB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.449e-06/0.005435, allocations: 6.438 kB / 0.5217 GB, free: 232 kB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.288e-05/0.005448, allocations: 0 / 0.5217 GB, free: 232 kB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.785e-06/0.005455, allocations: 0 / 0.5217 GB, free: 232 kB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.618e-05/0.005472, allocations: 3.984 kB / 0.5217 GB, free: 228 kB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.863e-06/0.005473, allocations: 0 / 0.5217 GB, free: 228 kB / 490.7 MB Notification: Performance of sorting global known variables: time 4.525e-05/0.005519, allocations: 79.28 kB / 0.5218 GB, free: 148 kB / 490.7 MB Notification: Performance of sort global known variables: time 6e-08/0.005519, allocations: 1.844 kB / 0.5218 GB, free: 148 kB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002067/0.005725, allocations: 0 / 0.5218 GB, free: 148 kB / 490.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 0.0001178/0.005843, allocations: 95.19 kB / 0.5219 GB, free: 44 kB / 490.7 MB Notification: Performance of simCode: created initialization part: time 8.451e-05/0.005928, allocations: 5.031 kB / 0.5219 GB, free: 40 kB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.00593, allocations: 0 / 0.5219 GB, free: 40 kB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 8.416e-06/0.005938, allocations: 4 kB / 0.5219 GB, free: 36 kB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001595/0.006098, allocations: 9.141 kB / 0.5219 GB, free: 32 kB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005491/0.006647, allocations: 78.23 kB / 0.5219 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.646e-05/0.006723, allocations: 66.58 kB / 0.522 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.342e-05/0.006737, allocations: 0 / 0.522 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.512e-05/0.006772, allocations: 8.5 kB / 0.522 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of SimCode: time 3.7e-07/0.006772, allocations: 0 / 0.522 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of Templates: time 0.002982/0.009754, allocations: 184.2 kB / 0.5222 GB, free: 15.66 MB / 0.4948 GB " [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=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Time.Examples.ModelTime.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.950380114023574]