Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Obsolete.Examples.HeatingOfAlcohol.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.001659/0.001659, allocations: 110.5 kB / 19.69 MB, free: 2.254 MB / 14.72 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.002183/0.002183, allocations: 216.2 kB / 23.01 MB, free: 4.566 MB / 14.72 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.55/1.55, allocations: 230.6 MB / 256.8 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo): time 0.1524/0.1524, allocations: 23.89 MB / 337.1 MB, free: 11.17 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 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(Chemical.Obsolete.Examples.HeatingOfAlcohol,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.HeatingOfAlcohol") translateModel(Chemical.Obsolete.Examples.HeatingOfAlcohol,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.HeatingOfAlcohol") [Timeout 660] "Notification: Chemical requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002093/0.002093, allocations: 67.91 kB / 472.5 MB, free: 7.16 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3871/0.3892, allocations: 59.89 MB / 0.5199 GB, free: 9.844 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.HeatingOfAlcohol): time 0.005385/0.3946, allocations: 4.32 MB / 0.5241 GB, free: 6.781 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.009604/0.4042, allocations: 8.767 MB / 0.5327 GB, free: 416 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000768/0.4049, allocations: 14.44 kB / 0.5327 GB, free: 408 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007245/0.4057, allocations: 180.1 kB / 0.5328 GB, free: 308 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002696/0.4084, allocations: 0.8004 MB / 0.5336 GB, free: 15.82 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003708/0.4121, allocations: 1.029 MB / 0.5346 GB, free: 15.21 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001935/0.414, allocations: 0.8865 MB / 0.5355 GB, free: 14.77 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007302/0.4147, allocations: 413.7 kB / 0.5359 GB, free: 14.57 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000746/0.4155, allocations: 458.1 kB / 0.5363 GB, free: 14.41 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007086/0.4162, allocations: 480.3 kB / 0.5368 GB, free: 14.21 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001232/0.4163, allocations: 77.56 kB / 0.5369 GB, free: 14.21 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003869/0.4202, allocations: 0.9118 MB / 0.5377 GB, free: 13.98 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002534/0.4204, allocations: 178.4 kB / 0.5379 GB, free: 13.87 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005421/0.421, allocations: 412.8 kB / 0.5383 GB, free: 13.63 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004677/0.4256, allocations: 1.845 MB / 0.5401 GB, free: 12.84 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.682e-06/0.4257, allocations: 1.125 kB / 0.5401 GB, free: 12.84 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.775e-06/0.4257, allocations: 0 / 0.5401 GB, free: 12.84 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.449e-05/0.4257, allocations: 0 / 0.5401 GB, free: 12.84 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.002492/0.4282, allocations: 1.093 MB / 0.5412 GB, free: 12.12 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/0.4282, allocations: 9.625 kB / 0.5412 GB, free: 12.12 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006909/0.4289, allocations: 151 kB / 0.5413 GB, free: 12.07 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009139/0.4298, allocations: 411.5 kB / 0.5417 GB, free: 11.79 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.034e-05/0.4299, allocations: 49.88 kB / 0.5418 GB, free: 11.77 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001296/0.43, allocations: 69.27 kB / 0.5418 GB, free: 11.75 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001402/0.4314, allocations: 0.7569 MB / 0.5426 GB, free: 11.43 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.74e-05/0.4314, allocations: 0 / 0.5426 GB, free: 11.43 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.602e-05/0.4315, allocations: 30.39 kB / 0.5426 GB, free: 11.41 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.289e-05/0.4315, allocations: 15.62 kB / 0.5426 GB, free: 11.41 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001568/0.4331, allocations: 0.8723 MB / 0.5435 GB, free: 11.16 MB / 398.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004251/0.4373, allocations: 2.315 MB / 0.5457 GB, free: 9.695 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001616/0.4389, allocations: 0.8179 MB / 0.5465 GB, free: 9.383 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004343/0.4394, allocations: 260 kB / 0.5468 GB, free: 9.27 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003868/0.4432, allocations: 1.604 MB / 0.5483 GB, free: 8.43 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.738e-05/0.4433, allocations: 40.69 kB / 0.5484 GB, free: 8.383 MB / 398.1 MB Notification: Performance of pre-optimization done (n=42): time 2.134e-06/0.4433, allocations: 0 / 0.5484 GB, free: 8.383 MB / 398.1 MB Notification: Performance of matching and sorting (n=56): time 0.01633/0.4596, allocations: 2.655 MB / 0.551 GB, free: 6.973 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.236e-05/0.4597, allocations: 58.56 kB / 0.551 GB, free: 6.91 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006007/0.4603, allocations: 406 kB / 0.5514 GB, free: 6.656 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 6.632e-05/0.4603, allocations: 35.95 kB / 0.5515 GB, free: 6.617 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002954/0.4606, allocations: 370.1 kB / 0.5518 GB, free: 6.289 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001978/0.4608, allocations: 210.8 kB / 0.552 GB, free: 6.105 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002321/0.4611, allocations: 143.7 kB / 0.5521 GB, free: 6.016 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001974/0.4613, allocations: 374.5 kB / 0.5525 GB, free: 5.652 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003928/0.4617, allocations: 202.7 kB / 0.5527 GB, free: 5.559 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006377/0.4623, allocations: 463.2 kB / 0.5531 GB, free: 5.125 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001108/0.4634, allocations: 0.7182 MB / 0.5538 GB, free: 4.543 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-06/0.4634, allocations: 2.906 kB / 0.5538 GB, free: 4.543 MB / 398.1 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.004853/0.4683, allocations: 1.141 MB / 0.555 GB, free: 3.938 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.607e-05/0.4683, allocations: 8.25 kB / 0.555 GB, free: 3.938 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.677e-05/0.4683, allocations: 8.25 kB / 0.555 GB, free: 3.938 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003734/0.472, allocations: 444.7 kB / 0.5554 GB, free: 3.734 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005275/0.4726, allocations: 163.5 kB / 0.5556 GB, free: 3.695 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008033/0.4806, allocations: 4.444 MB / 0.5599 GB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007301/0.4813, allocations: 25.34 kB / 0.5599 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.955e-05/0.4814, allocations: 44.58 kB / 0.56 GB, free: 15.79 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (81): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0003989/0.4818, allocations: 207.5 kB / 0.5602 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001468/0.482, allocations: 56.53 kB / 0.5602 GB, free: 15.58 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005626/0.4876, allocations: 1.098 MB / 0.5613 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.686e-06/0.4876, allocations: 4 kB / 0.5613 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.839e-06/0.4876, allocations: 4 kB / 0.5613 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.069e-05/0.4876, allocations: 0 / 0.5613 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006631/0.4943, allocations: 1.775 MB / 0.563 GB, free: 12.86 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.4943, allocations: 4 kB / 0.563 GB, free: 12.86 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003516/0.4946, allocations: 95.89 kB / 0.5631 GB, free: 12.77 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004562/0.4992, allocations: 0.5098 MB / 0.5636 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.776e-05/0.4992, allocations: 27.98 kB / 0.5636 GB, free: 12.22 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00898/0.5082, allocations: 5.644 MB / 0.5692 GB, free: 6.227 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/0.5082, allocations: 4.031 kB / 0.5692 GB, free: 6.223 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005917/0.5141, allocations: 1.395 MB / 0.5705 GB, free: 4.777 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002089/0.5144, allocations: 59.59 kB / 0.5706 GB, free: 4.719 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.995e-05/0.5144, allocations: 16 kB / 0.5706 GB, free: 4.703 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003571/0.5148, allocations: 16 kB / 0.5706 GB, free: 4.688 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001588/0.5149, allocations: 60.33 kB / 0.5707 GB, free: 4.629 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.894e-05/0.515, allocations: 24 kB / 0.5707 GB, free: 4.605 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003613/0.5154, allocations: 271.1 kB / 0.5709 GB, free: 4.34 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5154, allocations: 0 / 0.5709 GB, free: 4.34 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001625/0.517, allocations: 403.1 kB / 0.5713 GB, free: 3.945 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (Ethanol.logn,liquidWater.amountOfBonds,liquidWater.logn) * 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 (48): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (2,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009361/0.518, allocations: 470.1 kB / 0.5718 GB, free: 3.477 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001781/0.5197, allocations: 0.8655 MB / 0.5726 GB, free: 2.582 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.5197, allocations: 0 / 0.5726 GB, free: 2.582 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00119/0.5209, allocations: 0.7061 MB / 0.5733 GB, free: 1.84 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008078/0.5217, allocations: 144 kB / 0.5735 GB, free: 1.703 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002465/0.5242, allocations: 1.365 MB / 0.5748 GB, free: 288 kB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006175/0.5248, allocations: 0.8991 MB / 0.5757 GB, free: 15.36 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002779/0.5251, allocations: 126.5 kB / 0.5758 GB, free: 15.23 MB / 430.1 MB Notification: Performance of SimCode: time 6.72e-07/0.5251, allocations: 0 / 0.5758 GB, free: 15.23 MB / 430.1 MB Notification: Performance of Templates: time 0.02436/0.5495, allocations: 17.59 MB / 0.593 GB, free: 13.7 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.HeatingOfAlcohol.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Obsolete.Examples.HeatingOfAlcohol.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.HeatingOfAlcohol.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.HeatingOfAlcohol.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.HeatingOfAlcohol.sim & ./Chemical_master_Chemical.Obsolete.Examples.HeatingOfAlcohol -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.HeatingOfAlcohol.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.669352447002893] Failed to read output from testmodel.py, exit status != 0: 0.5594011920038611 0.573624113 0.144711959 Calling exit ...