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.0006934/0.0006934, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008652/0.001559, allocations: 435.8 kB / 10.33 MB, free: 368 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.0006843/0.0006843, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008261/0.00151, allocations: 463.6 kB / 11.68 MB, free: 2.484 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 0.9849/0.9849, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.104/1.089, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.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.7958/0.7958, allocations: 154.6 MB / 398.5 MB, free: 0.5078 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. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2729/1.069, allocations: 49.03 MB / 447.6 MB, free: 6.688 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/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.533e-06/1.533e-06, allocations: 0.7656 kB / 448.8 MB, free: 5.438 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.013e-05/2.166e-05, allocations: 8.766 kB / 448.9 MB, free: 5.43 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Examples.ModelTime): time 0.001802/0.001824, allocations: 0.6444 MB / 449.5 MB, free: 4.824 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 1.799e-05/0.001842, allocations: 3.938 kB / 449.5 MB, free: 4.82 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.091e-05/0.001853, allocations: 0.5625 kB / 449.5 MB, free: 4.82 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 1.718e-05/0.00187, allocations: 3.812 kB / 449.5 MB, free: 4.82 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 1.312e-06/0.001872, allocations: 0 / 449.5 MB, free: 4.82 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 1.371e-05/0.001885, allocations: 4 kB / 449.5 MB, free: 4.816 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 3.85e-05/0.001924, allocations: 4 kB / 449.5 MB, free: 4.812 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.706e-05/0.001961, allocations: 10.2 kB / 449.5 MB, free: 4.805 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.934e-05/0.00199, allocations: 0.7656 kB / 449.5 MB, free: 4.805 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.454e-05/0.002015, allocations: 0 / 449.5 MB, free: 4.805 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.413e-05/0.002029, allocations: 0 / 449.5 MB, free: 4.805 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.497e-06/0.002032, allocations: 5.219 kB / 449.5 MB, free: 4.801 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 7.314e-06/0.00204, allocations: 0.7656 kB / 449.5 MB, free: 4.801 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 1.514e-05/0.002055, allocations: 0.5469 kB / 449.5 MB, free: 4.801 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 4.61e-05/0.002101, allocations: 1.094 kB / 449.5 MB, free: 4.801 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.444e-05/0.002115, allocations: 0.8438 kB / 449.5 MB, free: 4.801 MB / 426.7 MB Notification: Performance of FrontEnd: time 5.72e-07/0.002116, allocations: 0 / 449.5 MB, free: 4.801 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.537e-05/0.002131, allocations: 1.344 kB / 449.5 MB, free: 4.801 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.0002011/0.002332, allocations: 216.8 kB / 449.7 MB, free: 4.562 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.129e-05/0.002364, allocations: 8.031 kB / 449.8 MB, free: 4.555 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.012e-05/0.002384, allocations: 1.594 kB / 449.8 MB, free: 4.555 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.887e-05/0.002443, allocations: 102.3 kB / 449.9 MB, free: 4.43 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.724e-06/0.00245, allocations: 5.906 kB / 449.9 MB, free: 4.426 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.697e-06/0.002454, allocations: 384 / 449.9 MB, free: 4.426 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.024e-05/0.002504, allocations: 34.2 kB / 449.9 MB, free: 4.387 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.909e-06/0.002509, allocations: 192 / 449.9 MB, free: 4.387 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.248e-06/0.002513, allocations: 3.859 kB / 449.9 MB, free: 4.387 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.002518, allocations: 4.375 kB / 449.9 MB, free: 4.383 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.116e-05/0.002529, allocations: 7.938 kB / 449.9 MB, free: 4.375 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.722e-05/0.002587, allocations: 57.03 kB / 450 MB, free: 4.305 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 2.937e-05/0.002616, allocations: 22.59 kB / 450 MB, free: 4.273 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.313e-05/0.002629, allocations: 5.766 kB / 450 MB, free: 4.266 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.94e-06/0.002634, allocations: 7.359 kB / 450 MB, free: 4.262 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.023e-05/0.002654, allocations: 35.78 kB / 450 MB, free: 4.219 MB / 426.7 MB Notification: Performance of pre-optimization done (n=1): time 6.61e-07/0.002655, allocations: 0 / 450 MB, free: 4.219 MB / 426.7 MB Notification: Performance of matching and sorting (n=1): time 6.475e-05/0.00272, allocations: 30.42 kB / 450.1 MB, free: 4.184 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.845e-05/0.002748, allocations: 51.41 kB / 450.1 MB, free: 4.121 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.12e-05/0.002779, allocations: 90.52 kB / 450.2 MB, free: 4.023 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 9.598e-06/0.002789, allocations: 25.7 kB / 450.2 MB, free: 3.992 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.413e-05/0.002813, allocations: 82.41 kB / 450.3 MB, free: 3.91 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.072e-05/0.002834, allocations: 6.062 kB / 450.3 MB, free: 3.906 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.565e-05/0.002859, allocations: 13.72 kB / 450.3 MB, free: 3.887 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.846e-05/0.002948, allocations: 319.5 kB / 450.6 MB, free: 3.566 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.779e-06/0.002953, allocations: 4 kB / 450.6 MB, free: 3.562 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.306e-06/0.002956, allocations: 4.688 kB / 450.6 MB, free: 3.559 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.669e-05/0.002973, allocations: 9.734 kB / 450.7 MB, free: 3.547 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.002974, allocations: 0 / 450.7 MB, free: 3.547 MB / 426.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.977e-05/0.003013, allocations: 30.33 kB / 450.7 MB, free: 3.512 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/0.003026, allocations: 5.344 kB / 450.7 MB, free: 3.504 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.003031, allocations: 0 / 450.7 MB, free: 3.504 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.003044, allocations: 0.625 kB / 450.7 MB, free: 3.504 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.35e-05/0.003098, allocations: 7.984 kB / 450.7 MB, free: 3.496 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.725e-06/0.0031, allocations: 1.219 kB / 450.7 MB, free: 3.496 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.957e-06/0.003109, allocations: 0 / 450.7 MB, free: 3.496 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.386e-06/0.003113, allocations: 0.5469 kB / 450.7 MB, free: 3.496 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 5.62e-05/0.003169, allocations: 114.8 kB / 450.8 MB, free: 3.375 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.64e-06/0.003174, allocations: 4 kB / 450.8 MB, free: 3.371 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.369e-05/0.003188, allocations: 4.156 kB / 450.8 MB, free: 3.367 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-06/0.003189, allocations: 0 / 450.8 MB, free: 3.367 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.202e-06/0.00319, allocations: 0.6562 kB / 450.8 MB, free: 3.367 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.003193, allocations: 0.5312 kB / 450.8 MB, free: 3.367 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.414e-05/0.003247, allocations: 65.83 kB / 450.9 MB, free: 3.285 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.003248, allocations: 5.688 kB / 450.9 MB, free: 3.281 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.275e-05/0.003261, allocations: 3.984 kB / 450.9 MB, free: 3.277 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.238e-06/0.003265, allocations: 0 / 450.9 MB, free: 3.277 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.92e-07/0.003266, allocations: 0.5469 kB / 450.9 MB, free: 3.277 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.24e-06/0.003272, allocations: 5.219 kB / 450.9 MB, free: 3.273 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.003274, allocations: 3.984 kB / 450.9 MB, free: 3.27 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.003275, allocations: 0 / 450.9 MB, free: 3.27 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.16e-05/0.003327, allocations: 57.73 kB / 451 MB, free: 3.195 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.775e-06/0.003334, allocations: 4.969 kB / 451 MB, free: 3.191 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.841e-06/0.00334, allocations: 5.25 kB / 451 MB, free: 3.188 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.099e-05/0.003351, allocations: 7.938 kB / 451 MB, free: 3.18 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.493e-06/0.003353, allocations: 0 / 451 MB, free: 3.18 MB / 426.7 MB Notification: Performance of sorting global known variables: time 5.35e-06/0.003358, allocations: 5.766 kB / 451 MB, free: 3.172 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.003358, allocations: 0 / 451 MB, free: 3.172 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001381/0.003496, allocations: 0 / 451 MB, free: 3.172 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 7.589e-05/0.003572, allocations: 78.14 kB / 451.1 MB, free: 3.086 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 5.093e-05/0.003623, allocations: 8.859 kB / 451.1 MB, free: 3.074 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.003627, allocations: 1.609 kB / 451.1 MB, free: 3.074 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.864e-06/0.003635, allocations: 9.484 kB / 451.1 MB, free: 3.062 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 4.953e-05/0.003684, allocations: 3.938 kB / 451.1 MB, free: 3.059 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001579/0.003842, allocations: 90.45 kB / 451.2 MB, free: 2.945 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.347e-05/0.003876, allocations: 55.98 kB / 451.2 MB, free: 2.871 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 1.022e-05/0.003886, allocations: 3.938 kB / 451.2 MB, free: 2.867 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.423e-05/0.00392, allocations: 48 kB / 451.3 MB, free: 2.82 MB / 426.7 MB Notification: Performance of SimCode: time 7.81e-07/0.003921, allocations: 0.625 kB / 451.3 MB, free: 2.82 MB / 426.7 MB Notification: Performance of Templates: time 0.001753/0.005674, allocations: 208.4 kB / 451.5 MB, free: 2.629 MB / 426.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.5188382044434547]